interface
async_hooks.AsyncResourceOptions
interface AsyncResourceOptions
- requireManualDestroy?: boolean
Disables automatic
emitDestroywhen the object is garbage collected. This usually does not need to be set (even ifemitDestroyis called manually), unless the resource'sasyncIdis retrieved and the sensitive API'semitDestroyis called with it.