Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/proc/src/runnable-iterable.ts>Runnable#flatten

A high-level way to run child processes that is easy, flexible, powerful, and prevents resource leaks.
Go to Latest
method Runnable.prototype.flatten
import { Runnable } from "https://deno.land/x/proc@0.20.7/src/runnable-iterable.ts";

Flatten the iterable.

Returns

Runnable<ElementType<T>>

An iterator where a level of indirection has been removed.