Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ContextIdFactory

Hierarchy

  • ContextIdFactory

Index

Methods

Static create

  • create(): { id: number }
  • Generates a context identifier based on the request object.

    Returns { id: number }

    • id: number

Static getByRequest

  • getByRequest(request: any): any
  • Generates a random identifier to track asynchronous execution context.

    Parameters

    • request: any

      request object

    Returns any

Generated using TypeDoc