Call all destroy hooks. This should only ever be called once. An error will be thrown if it is called more than once. This must be manually called. If the resource is left to be collected by the GC then the destroy hooks will never be called.
EventEmitterAsyncResource.emitDestroy method | Node.js events module | Bun BuildDocsReferenceGuidesBlogDiscord/node:events/default/EventEmitterAsyncResource/emitDestroyMemitDestroy BuildDocsReferenceGuidesBlogDiscord /node:events/default/EventEmitterAsyncResource/emitDestroyMemitDestroy events.default.EventEmitterAsyncResource.emitDestroyemitDestroy(): void;
Search the reference...
/
method
Resources
ReferenceDocsGuidesDiscordMerch StoreGitHubBlogToolkit
RuntimePackage managerTest runnerBundlerPackage runnerProject
Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicenseBaked with ❤️ in San Francisco
We're hiring →EventEmitterAsyncResource.emitDestroy method | Node.js events module | Bun,AI智能索引,全网链接索引,智能导航,网页索引
- API documentation for method node:events.default.EventEmitterAsyncResource.emitDestroy | Bun