Calls the given transform function for each Push event of the given source and passes through the result.
Parameters
Parameter
Type
Description
transform
1
<T>(value:T, index:number)=>U
A function which accepts a value and an index. The map method calls the transform function one time for each Push event of the given source and passes through the result.