Skip to content

Latest commit

 

History

History
24 lines (14 loc) · 746 Bytes

hamon.syncwaterfallhook.md

File metadata and controls

24 lines (14 loc) · 746 Bytes

Home > @funnyecho/hamon > SyncWaterfallHook

SyncWaterfallHook class

Synchronous Waterfall Hook

Signature:

export declare class SyncWaterfallHook<T, R> extends SyncTapHook<T, R> 

Remarks

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.

Methods

Method Modifiers Description
call(args) call listener with ...args