Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/rimbu/stream/main/transformer.ts

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
import * as rimbu from "https://deno.land/x/rimbu@1.0.0/stream/main/transformer.ts";

Variables

Returns a transformer that produces windows/collections of windowSize size, each window starting skipAmount of elements after the previous, and optionally collected by a custom reducer.

Functions

Returns a transformer that returns only those elements from the input that are different to previous element according to the optionally given eq function.

Type Aliases

A Reducer that produces instances of StreamSource.

A Reducer that produces instances of StreamSource.NonEmpty.