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

x/rimbu/stream/async/async-transformer.ts>AsyncTransformer.NonEmpty

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
type alias AsyncTransformer.NonEmpty
import { type AsyncTransformer } from "https://deno.land/x/rimbu@0.13.1/stream/async/async-transformer.ts";
const { NonEmpty } = AsyncTransformer;

An AsyncReducer that produces instances AsyncStreamSource.NonEmpty.

Type Parameters

T
optional
R = T
definition: AsyncReducer<T, AsyncStreamSource.NonEmpty<R>>