Skip to main content
Version: 5.2

RequestContext

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

Index

Constructors

constructor

Properties

readonlyid

id: number = ...

readonlymap

Accessors

em

Methods

staticcreate

staticcreateAsync

staticcurrentRequestContext

  • Returns current RequestContext (if available).


    Returns undefined | RequestContext

staticgetEntityManager