Skip to main content
Module

x/aip/mod.ts>AutoRun

Async Iterator Pipeline
Latest
class AutoRun
import { AutoRun } from "https://deno.land/x/aip@v1.2.2/mod.ts";

Imitates push semantics by automatically pulling side-effects from given arg.

Constructors

new
AutoRun(input: AsyncIterable<unknown>)

Properties

private
_isStopped: boolean
stopped: Promise<void>

Methods

private
_loop(input: AsyncIterable<unknown>)
private
_makeStoppable(input: AsyncIterable<unknown>)
stop(): Promise<void>