This project has been succeeded by GraphReFly. New development happens at graphrefly-ts. npm install @graphrefly/graphrefly
Skip to content

pairwise()

Emits [previous, current] for each upstream value after the first (Tier 1).

Signature

ts
function pairwise<A>(): StoreOperator<A, [A, A] | undefined>

Returns

StoreOperator&lt;A, [A, A] | undefined&gt;

Released under the MIT License.