Skip to main content
Module

x/rimbu/stream/custom/fast-iterator-custom.ts>FastIteratorBase

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
class FastIteratorBase
implements FastIterator<T>
Abstract
import { FastIteratorBase } from "https://deno.land/x/rimbu@0.13.1/stream/custom/fast-iterator-custom.ts";

A base class for FastIterator instances, that takes implements the default next function based on the abstract fastNext function.

Methods

abstract
fastNext<O>(otherwise?: OptLazy<O>): T | O
next(): IteratorResult<T>