Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/rimbu/stream/custom/index.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.14.1/stream/custom/index.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>