flatMap<A, B>(f): (fa) => Task<B>
Chains a function that returns a Task over the result.
Type Parameters
A: A
The input type.
B: B
The output type.
Parameters
f: (a) => Task<B>
The chaining function.
Returns
A function that transforms the Task.
Since
2.0.0