Skip to content

@ralphschuler.logger.Logger.<internal>.AsyncResourceOptions

github-actions edited this page Nov 26, 2023 · 1 revision

Interface: AsyncResourceOptions

Logger.<internal>.AsyncResourceOptions

Hierarchy

Table of contents

Properties

Properties

requireManualDestroy

Optional requireManualDestroy: boolean

Disables automatic emitDestroy when the object is garbage collected. This usually does not need to be set (even if emitDestroy is called manually), unless the resource's asyncId is retrieved and the sensitive API's emitDestroy is called with it.

Default

false

Defined in

node_modules/@types/node/async_hooks.d.ts:222


triggerAsyncId

Optional triggerAsyncId: number

The ID of the execution context that created this async event.

Default

executionAsyncId()

Defined in

node_modules/@types/node/async_hooks.d.ts:214

Typescript Libraries

Modules

Namespaces

Clone this wiki locally