Light and type-safe binding to JS promises
bs-platform
peer dependency (pointed out by Andrew Herron).Promise.Js.tap
(#74, reported and fix proposed by Andrew Herron).undefined
when there is an uncaught exception in a callback (#70, reported by Joel Jeddeloh).allOk([])
should resolve to Ok([])
(#62, reported Misha Bergal).allOk
, allOk2
...allOk6
, allOkArray
— fast-fail versions of all
(#54, requested Jay Mithani).onUnhandledException
on BuckleScript 7.0.0+ (#50, Sikan He).Promise.t(+'a)
instead of Promise.t('a)
) (c9d8008, prompted Sikan He).Changes
->
(41c9a1b).Additions
Result
and Option
(#16).tap
, tapOk
, tapError
, tapSome
(217e19e).Bugs fixed
Additions
all2
...all6
(#36, requested Kyle Goggin).arrayAll
(#40, requested Malthe Borch).Bugs fixed
not
; it is now !
in Reason (1adad30).onUnhandledException
docs (#29, Alexander Tesfamichael).