TypeScript API / contentia/core / ContentiaStream / mapDone
Function: mapDone()
ts
function mapDone<A, D1, D2, R>(self, f): ContentiaStream<A, D2, R>;Transform the typed done value.
Type Parameters
| Type Parameter |
|---|
A |
D1 extends ContentiaDone |
D2 extends ContentiaDone |
R |
Parameters
| Parameter | Type |
|---|---|
self | ContentiaStream<A, D1, R> |
f | (done) => D2 |
Returns
ContentiaStream<A, D2, R>