UNPKG

sflow

Version:

sflow is a powerful and highly-extensible library designed for processing and manipulating streams of data effortlessly. Inspired by the functional programming paradigm, it provides a rich set of utilities for transforming streams, including chunking, fil

5 lines 277 B
import type { Ord } from "rambda"; import type { Awaitable } from "./Awaitable"; /** chunk items by compareFn, group items with same Ord */ export declare function chunkBys<T>(compareFn: (x: T) => Awaitable<Ord>): TransformStream<T, T[]>; //# sourceMappingURL=chunkBys.d.ts.map