Namespace Future<E, A, B>
Functions
Const create
- create<E, A, B>(fn: (reject: Arity1<A, Disposable>, resolve: Arity1<B, Disposable>, environment: E) => Disposable): Future<E, A, B>
-
Type parameters
Parameters
-
fn: (reject: Arity1<A, Disposable>, resolve: Arity1<B, Disposable>, environment: E) => Disposable
-
- (reject: Arity1<A, Disposable>, resolve: Arity1<B, Disposable>, environment: E): Disposable
-
Parameters
-
reject: Arity1<A, Disposable>
-
resolve: Arity1<B, Disposable>
-
environment: E
Returns Disposable
Returns Future<E, A, B>
Const fromPromise
-
Type parameters
Parameters
-
promise: () => PromiseLike<A>
Const of
-
Type parameters
Parameters