Returns an AsyncOperationFunction that yields entries of the source Iterable transformed using the function.
The type of the elements in the source Iterable.
The type of the elements in the result Iterable.
The function to use to map the entries.
An AsyncOperationFunction that yields entries of the source Iterable transformed using the function.
const result = mapAsync<number, number>([1, 2, 3], (value) => value * 2);console.log(result); // [2, 4, 6] Copy
const result = mapAsync<number, number>([1, 2, 3], (value) => value * 2);console.log(result); // [2, 4, 6]
Returns an AsyncOperationFunction that yields entries of the source Iterable transformed using the function.