Extends
Members
bootstrappers :Array.<ServiceProvider>
- Source:
- Overrides:
Bootstrapper service providers accessor.
Methods
(abstract) beforeHandling()
- Source:
Called just before handling incoming request.
(abstract) afterHandling()
- Source:
Called just after handling incoming request, if no error was thrown.
(async) call(command)
- Source:
Call the given command and process it through the command registrar.
Parameters:
Name | Type | Description |
---|---|---|
command |
string | The current command. |
Returns:
The async process promise.
- Type
- Promise
shouldExit(shouldExitopt)
- Source:
Specify if the kernel should exit the current process when terminating.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
shouldExit |
boolean |
<optional> |
true
|
Indicates if the process should exit at the end. |
(abstract) terminating()
- Source:
Called when the application is terminating.
(async) handle()
- Source:
- Overrides:
Handle the incoming request.
Returns:
The async process promise.
- Type
- Promise
terminate()
- Source:
- Overrides:
Terminate the request handling.