Skip to main content
Module

x/better_iterators/mod.ts>Lazy#limit

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

Limit the iterator to returning at most count items.

Parameters

count: number