Skip to main content

before

method HookCallbacks.before
Jump to headingHookCallbacks.before(asyncId: number): void

When an asynchronous operation is initiated or completes a callback is called to notify the user. The before callback is called just before said callback is executed.

Parameters Jump to heading

Jump to headingasyncId: number

the unique identifier assigned to the resource about to execute the callback.

Return Type Jump to heading

void
Back to top