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

x/proc/legacy/mod.ts>PromiseOrIterable

A high-level way to run child processes that is easy, flexible, powerful, and prevents resource leaks.
Go to Latest
type alias PromiseOrIterable
import { type PromiseOrIterable } from "https://deno.land/x/proc@0.20.8/legacy/mod.ts";

Something that is either a promise or an iterable.

definition: B extends AsyncIterable<unknown> ? B : Promise<B>