Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
function abortableAsyncIterable
import { abortableAsyncIterable } from "https://deno.land/std@0.137.0/async/abortable.ts";

Make AsyncIterable abortable with the given signal.

Parameters

p: AsyncIterable<T>
signal: AbortSignal

Returns

AsyncGenerator<T>