Home > @funnyecho/hamon > AsyncSeriesWaterfallHook
Asynchronous Waterfall Hook
Signature:
export declare class AsyncSeriesWaterfallHook<T, R> extends AsyncTapHook<T, R>
Invoke listener in queue Asynchronously. Those non-undefined value returned from upstream listener, will waterfall to downstream as first element of arguments. Calling return with waterfall value of last listener.
Method | Modifiers | Description |
---|---|---|
callAsync(args) | call listener with ...args and cb |
|
callPromise(args) | * call listener with ...args |