Module

Web.Promise.Internal

#Promise

data Promise :: Type -> Type

#then_

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

#catch

#finally

#resolve

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

#reject

reject :: forall a. Rejection -> Promise a

#all

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

#race

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

Modules