Express Gateway Documentation
Express Gateway Context Object (egContext)
State and other application data and metadata are stored within the Express Gateway context object or egContext object. The context object and its associated properties change depending on the scope of execution.
In Pipeline 1, a user invoking an API Endpoint will have their user id data set within
egContext.user.id that is different than another user invoking the same API Endpoint. Although it is the same object, the runtime context create different instances of the same object and data.