asyncPipe

1function 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 Parameters

Type Parameter

S

O

F

Parameters

ParameterTypeDescription

fns

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

functions to pipe

Returns

result of the pipe

1(
2 s,
3 o?,
4 f?): Promise<S>;

Parameters

ParameterType

s

S

o?

O

f?

F

Returns

Promise<S>