Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "cls"

Index

Enumerations

Classes

Interfaces

Type aliases

Variables

Type aliases

RootContext

This type represents the minimal information to store in continuation-local storage for a request. We store either a root span corresponding to the request, or a sentinel value (UNCORRELATED_SPAN or UNTRACED_SPAN) that tells us that the request is not being traced (with the exact sentinel value specifying whether this is on purpose or by accident, respectively).

When we store an actual root span, the only information we need is its current trace/span fields.

Variables

Const cls

cls: Singleton<TraceCLS, TraceCLSConfig, Logger> = new Singleton(TraceCLS)

Generated using TypeDoc