Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 739 Bytes

hamon.asyncparallelhook.md

File metadata and controls

25 lines (15 loc) · 739 Bytes

Home > @funnyecho/hamon > AsyncParallelHook

AsyncParallelHook class

Asynchronous Parallel Hook

Signature:

export declare class AsyncParallelHook<T, R = void> extends AsyncTapHook<T, R> 

Remarks

Invoke listeners in parallel asynchronously

Methods

Method Modifiers Description
callAsync(args) call listener with ...args and cb
callPromise(args) * call listener with ...args