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

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

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

Transform the iterable from one type to another with an opportunity to catch and handle errors.

Parameters

fn: (it: AsyncIterable<T>) => AsyncIterable<U>

The transform function.

Returns

The transformed iterable.