bs-dataloader icon indicating copy to clipboard operation
bs-dataloader copied to clipboard

Make Js.Promise optional

Open ulrikstrid opened this issue 7 years ago • 1 comments

My long term goal for this is that I want this to be useable in native as well.

For that to happen we need to make it possible to use lwt or something like it for the async handling as well as Promises when compiling to JS.

To do this we need to create a abstract async handler that can be fulfilled with either Promises or something else from the native side.

ulrikstrid avatar Oct 29 '17 12:10 ulrikstrid

Or just functorize it 🙃

wokalski avatar Oct 29 '17 13:10 wokalski