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

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

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

Constructors

new
AsyncIndexedIterator(source: AsyncFastIterator<T>, startIndex?)

Properties

index: number

Methods

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