Skip to main content
Module

x/better_iterators/mod.ts>lazy

Chainable iterators (sync and async) for TypeScript, with support for opt-in, bounded parallelism
Go to Latest
function lazy
import { lazy } from "https://deno.land/x/better_iterators@v1.0.3/mod.ts";

Create a Lazy(Async) from your (Async)Iterator.

Parameters

iter: Iterable<T>

Returns

Lazy<T>

Parameters

iter: AsyncIterable<T>

Returns

LazyAsync<T>