Skip to main

mapTo

mapTo

Source Location: packages/core/src/source.ts#L1489

Signature

function mapTo<U>(value: U): <T>(source: Source<T>) => Source<U>

Replaces the value of each received Push event with the given value.

Parameters

ParameterTypeDescription
value
U

The value to push.