UNPKG

@thi.ng/transducers-async

Version:

Async versions of various highly composable transducers, reducers and iterators

10 lines (9 loc) 225 B
import { comp as _comp } from "@thi.ng/compose/comp"; import { ensureAsyncTransducer } from "./ensure.js"; function comp(...fns) { fns = fns.map(ensureAsyncTransducer); return _comp.apply(null, fns); } export { comp };