TypeScript API / contentia/core / ContentiaTask / map
Function: map()
ts
function map<A, B, R>(self, f): ContentiaTask<B, R>;Transform the resolved value (Channel's OutDone).
Type Parameters
| Type Parameter |
|---|
A |
B |
R |
Parameters
| Parameter | Type |
|---|---|
self | ContentiaTask<A, R> |
f | (a) => B |
Returns
ContentiaTask<B, R>