• Puts the current value and previous value together as an array, and queues that.

    Type Parameters

    • T

    Returns TransformStream<T, [T, T]>

    Example

    --a----b------c------d------

    pairwise()

    -------[a,b]--[b,c]--[c,d]--

Generated using TypeDoc