Mdestroy
Bun

method

async_hooks.HookCallbacks.destroy

asyncId: number
): void;

Called after the resource corresponding to asyncId is destroyed

@param asyncId

a unique ID for the async resource