Skip to main content
Module

x/rimbu/stream/mod.ts>AsyncTransformer.AcceptNonEmpty

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

Convenience type to allow non-empty synchronous transformers to be supplied to functions that accept non-empty async transformers.

definition: AsyncTransformer.NonEmpty<T, R> | Transformer.NonEmpty<T, R>