ServerContextManager

ServerContextManager

Manage the different server-side contexts and their lifecycle.

The ServerContextManager is automatically instantiated by the Server.

WARNING: Most of the time, you should not have to manipulate the context manager directly.

Methods

(async) get(contextName) → {Promise.<T.<ServerContext>>}

Description:
  • Retrieve a started context from its name.

    WARNING: Most of the time, you should not have to call this method manually.

Source:
Parameters:
Name Type Description
contextName string

Name of the context.

Returns:
Type
Promise.<T.<ServerContext>>