Home > @funnyecho/hamon > SyncBailHook
Synchronous Bail Hook
Signature:
export declare class SyncBailHook<T, R> extends SyncTapHook<T, R>
Invoke listener Synchronously. Calling will bail with non-undefined value returned with listener. If no listener return non-undefined value, calling will bail with first element of arguments
Method | Modifiers | Description |
---|---|---|
call(args) | call listener with ...args |