Skip to main content

map()

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