Home > @funnyecho/hamon > SyncWaterfallHook
Synchronous Waterfall Hook
Signature:
export declare class SyncWaterfallHook<T, R> extends SyncTapHook<T, R>
Invoke listener Synchronously. 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 |
---|---|---|
call(args) | call listener with ...args |