Skip to main content
Module

x/rimbu/stream/async-custom/index.ts>AsyncRepeatIterator

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
class AsyncRepeatIterator
extends AsyncFastIteratorBase<T>
Re-export
import { AsyncRepeatIterator } from "https://deno.land/x/rimbu@0.14.1/stream/async-custom/index.ts";

Constructors

new
AsyncRepeatIterator(source: AsyncStream<T>, amount?: number)

Properties

isEmpty: boolean
iterator: AsyncFastIterator<T>
remain: number | undefined

Methods

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