Terminates the application
Enables the usage of shutdown hooks. Will call the
onApplicationShutdown
function of a provider if the
process receives a shutdown signal.
The Nest application context instance
Initalizes the Nest application. Calls the Nest lifecycle events. It isn't mandatory to call this method directly.
The NestApplicationContext instance as Promise
Starts the microservice.
Starts the microservice (can be awaited).
Registers the request/context object for a given context ID (DI container sub-tree).
Resolves transient or request-scoped instance of either injectable or controller, otherwise, throws exception.
Allows navigating through the modules tree, for example, to pull out a specific instance from the selected module.
Registers exception filters as a global filters (will be used within every message pattern handler)
Registers guards as a global guards (will be used within every message pattern handler)
Registers interceptors as a global interceptors (will be used within every message pattern handler)
Registers pipes as a global pipes (will be used within every message pattern handler)
Sets custom logger service
Register Ws Adapter which will be used inside Gateways.
Use, when you want to override default socket.io
library.
Generated using TypeDoc
Interface describing Microservice Context.