Returns an AsyncOperationFunction that yields the current and the previous entry of the source Iterable.
The type of the elements in the source Iterable.
An AsyncOperationFunction that yields the current and the previous entry of the source Iterable.
const result = pairwiseAsync<number>([1, 2, 3]);console.log(result); // [[1, 2], [2, 3]] Copy
const result = pairwiseAsync<number>([1, 2, 3]);console.log(result); // [[1, 2], [2, 3]]
Returns an AsyncOperationFunction that yields the current and the previous entry of the source Iterable.