UNPKG

@thi.ng/rstream

Version:

Reactive streams & subscription primitives for constructing dataflow graphs / pipelines

9 lines (8 loc) 215 B
import { __optsWithID } from "./idgen.js"; import { fromIterableSync } from "./iterable.js"; function trigger(x = true, opts) { return fromIterableSync([x], __optsWithID("trigger", opts)); } export { trigger };