Skip to content

@ralphschuler.ai function caller.index.<internal>.EventEmitter.EventEmitterAsyncResourceOptions

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

Interface: EventEmitterAsyncResourceOptions

<internal>.EventEmitter.EventEmitterAsyncResourceOptions

Hierarchy

Table of contents

Properties

Properties

captureRejections

Optional captureRejections: boolean

Enables automatic capturing of promise rejection.

Inherited from

EventEmitterOptions.captureRejections

Defined in

node_modules/@types/node/events.d.ts:76


name

Optional name: string

The type of async event, this is required when instantiating EventEmitterAsyncResource directly rather than as a child class.

Default

new.target.name if instantiated as a child class.

Defined in

node_modules/@types/node/events.d.ts:469


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

Inherited from

AsyncResourceOptions.requireManualDestroy

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()

Inherited from

AsyncResourceOptions.triggerAsyncId

Defined in

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

Typescript Libraries

Modules

Namespaces

Clone this wiki locally