Returns an AsyncOperationFunction that calls a callback function on each entry.
The type of the elements in the source Iterable.
The callback function to call on each entry.
An AsyncOperationFunction that calls a callback function on each entry.
const result = tapAsync<number>([1, 2, 3], (value) => console.log(value));console.log(result); // [1, 2, 3] Copy
const result = tapAsync<number>([1, 2, 3], (value) => console.log(value));console.log(result); // [1, 2, 3]
Returns an AsyncOperationFunction that calls a callback function on each entry.