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

x/rimbu/stream/async-custom/async-fast-iterator-base.ts>AsyncSplitWhereIterator

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
class AsyncSplitWhereIterator
extends AsyncFastIteratorBase<T[]>
import { AsyncSplitWhereIterator } from "https://deno.land/x/rimbu@1.0.3/stream/async-custom/async-fast-iterator-base.ts";

Constructors

new
AsyncSplitWhereIterator(source: AsyncFastIterator<T>, pred: (value: T, index: number) => MaybePromise<boolean>)

Properties

index: number

Methods

fastNext<O>(otherwise?: AsyncOptLazy<O>): Promise<T[] | O>