Skip to content

compose

compose(…ops): Function

Defined in: utils/compose-with.js:204

Composes middleware with path-based result storage and two-accumulator support.

The composed function pops the domain accumulator (last arg with isAccumulator) and response accumulator (last arg with isResponseAcc) from its arguments. If either is absent, a fresh one is created.

…(Function | any[])[]

Operation specs; each is a function or [fn, setPath]

Function

  • Async composed pipeline