Mafter
Bun

method

async_hooks.HookCallbacks.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.

@param asyncId

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