Skip to main content
Version: 6.2

RequestContext

Uses AsyncLocalStorage to create async context that holds the current EM fork.

Index

Constructors

constructor

Properties

readonlyid

id: number = ...

readonlymap

Accessors

em

Methods

staticcreate

staticcurrentRequestContext

  • Returns current RequestContext (if available).


    Returns undefined | RequestContext

staticgetEntityManager