map<A, B>(f): (fa) => Task<B>
Maps a function over the result of a Task.
Type Parameters
A: A
The input type.
B: B
The output type.
Parameters
f: (a) => B
The mapping function.
Returns
A function that transforms the Task.
Since
2.0.0