-
Notifications
You must be signed in to change notification settings - Fork 429
Closed
Labels
Description
Except using lwt
instead of promises? orr we could not tie it to anything in particular and have it construct calls to async_map fn (val)
so you could do let async_map = Lwt.map
at the top of your file, or let async_map fn val = Js.Promise.then_ (fun v => Js.Promise.resolve (fn v)) val
.
Or maybe it should transform to bind
instead of map
?
bryphe, ryb73, imamatory, nickzuber, gabrielperales and 36 morenjlr, adrianmcli, danny-andrews-snap, mrvicadai, ianchanning and 8 more