Module

Web.Promise.Internal

Package
purescript-web-promise
Repository
purescript-web/purescript-web-promise

#Promise Source

data Promise t0

#then_ Source

then_ :: forall a b c. EffectFn2 (EffectFn1 a (Promise b)) (Promise a) (Promise c)

#catch Source

#finally Source

#resolve Source

resolve :: forall a b. a -> Promise b

#reject Source

reject :: forall a. Rejection -> Promise a

#all Source

all :: forall a. EffectFn1 (Array (Promise a)) (Promise (Array a))

#race Source

race :: forall a. EffectFn1 (Array (Promise a)) (Promise a)