Skip to main content

Task()<A>

Task<A> = () => Promise<A>

A Task represents an asynchronous computation that yields a value of type A.


Type Parameters​

A: A​

The result type.


Returns: Promise<A>​


Since​

2.0.0