Skip to main content
Module

x/proc/deps.ts>abortableAsyncIterable

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

Make AsyncIterable abortable with the given signal.

Parameters

p: AsyncIterable<T>
signal: AbortSignal

Returns

AsyncGenerator<T>