Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/better_iterators/mod.ts>LazyAsync#limit

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

Limit the iterator to returning at most count items.

Parameters

count: number