Alchemy Logo

asyncPipe

function asyncPipe<S, O, F>(...fns): (s, o?, f?) => Promise<S>;

Defined in: aa-sdk/core/src/utils/index.ts:12

Utility function that allows for piping a series of async functions together

Type Parameter

S

O

F

ParameterTypeDescription

...fns

(s, o?, f?) => Promise<S>[]

functions to pipe

result of the pipe

(
   s,
   o?,
   f?): Promise<S>;

ParameterType

s

S

o?

O

f?

F

Promise<S>

Was this page helpful?