mapTo
Signature - source.ts#L1583
function mapTo<U>(value: U): <T>(source: Source<T>) => Source<U>
Replaces the value of each received Push event with the given value.
Parameters
Parameter | Type | Description |
---|---|---|
value |
| The value to push. |
function mapTo<U>(value: U): <T>(source: Source<T>) => Source<U>
Replaces the value of each received Push event with the given value.
Parameter | Type | Description |
---|---|---|
value |
| The value to push. |