Skip to main content
Module

x/proc/mod3.ts>enumerate

A high-level way to run child processes that is easy, flexible, powerful, and prevents resource leaks.
Go to Latest
function enumerate
Re-export
import { enumerate } from "https://deno.land/x/proc@0.20.18/mod3.ts";

Enumerable factory.

Use this instead of creating an Enumerable directly as it more flexible and prevents stacking (a potential performance issue).

Parameters

optional
iter: AsyncIterable<T> | Iterable<T> | null

An Iterable or AsynIterable; null or undefined assume empty.