UNPKG

xstream-tuplewise

Version:

An xstream operator that groups consecutive events into N-tuples

6 lines (5 loc) 163 B
import { Stream } from 'xstream'; declare function tuplewise<N extends number, T>(n: N): ($: Stream<T>) => Stream<T[] & { length: N; }>; export { tuplewise };