Module

Effect.Promise.Nonstandard

Package
purescript-promises
Repository
thimoteus/purescript-promises

#done Source

done :: forall c a. (a -> Effect c) -> (Error -> Effect c) -> (Deferred => Promise a) -> Effect Unit

Call's a promise's done method, causing execution.

#finally Source

finally :: forall a. Deferred => Promise a -> Effect Unit -> Promise a

Run the given Eff once the given promise settles.