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