Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

createHook

  • Registers functions to be called for different lifetime events of each async operation.

    Parameters

    Returns AsyncHook

    an AsyncHooks instance used for disabling and enabling hooks

executionAsyncId

  • executionAsyncId(): number
  • Returns the asyncId of the current execution context.

    Returns number

triggerAsyncId

  • triggerAsyncId(): number
  • Returns the ID of the resource responsible for calling the callback that is currently being executed.

    Returns number

Generated using TypeDoc