cac
Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • EventEmitterAsyncResourceOptions

Index

Properties

Optional captureRejections

captureRejections: boolean | undefined

Enables automatic capturing of promise rejection.

Optional name

name: undefined | 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.

Optional requireManualDestroy

requireManualDestroy: boolean | undefined

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

Optional triggerAsyncId

triggerAsyncId: number | undefined

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

default

executionAsyncId()

Legend

  • Variable
  • Function
  • Type alias
  • Interface
  • Property
  • Class

Generated using TypeDoc