Skip to content

Latest commit

 

History

History
24 lines (14 loc) · 703 Bytes

hamon.syncbailhook.md

File metadata and controls

24 lines (14 loc) · 703 Bytes

Home > @funnyecho/hamon > SyncBailHook

SyncBailHook class

Synchronous Bail Hook

Signature:

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

Remarks

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

Methods

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