from
from<
A>(f):Task<A>
Defined in: Core/Task.ts:74
Creates a Task from a function that returns a Promise.
The factory optionally receives an AbortSignal forwarded from the call site.
Type Parameters
Section titled “Type Parameters”A
Parameters
Section titled “Parameters”(signal?) => Promise<A>
Returns
Section titled “Returns”Task<A>