Skip to main content

after

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

Called immediately after the callback specified in before is completed.

If an uncaught exception occurs during execution of the callback, then after will run after the 'uncaughtException' event is emitted or a domain's handler runs.

Parameters Jump to heading

Jump to headingasyncId: number

the unique identifier assigned to the resource which has executed the callback.

Return Type Jump to heading

void
Back to top