fromAff :: forall a. Aff a -> Effect (Promise a)
Convert an Aff into a Promise.
toAff :: forall a. Promise a -> Aff a
Convert a Promise into an Aff.
When the promise rejects, we attempt to
with Error objects or Strings. Anything else gets a "dummy" Error object.
toAffE :: forall a. Effect (Promise a) -> Aff a
Utility to convert an Effect returning a Promise into an Aff (i.e. the inverse of fromAff)
data Promise :: Type -> Type
Effects are not traced in the Promise type, as they form part of the Effect that
results in the promise.