Skip to main content
Version: Next

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

staticenter

staticgetEntityManager