* Terminates the application * @returns {Promise<void>}
(signal?: string)
| 275 | * @returns {Promise<void>} |
| 276 | */ |
| 277 | public async close(signal?: string): Promise<void> { |
| 278 | await this.initializationPromise; |
| 279 | await this.callDestroyHook(); |
| 280 | await this.callBeforeShutdownHook(signal); |
| 281 | await this.dispose(); |
| 282 | await this.callShutdownHook(signal); |
| 283 | this.unsubscribeFromProcessSignals(); |
| 284 | } |
| 285 | |
| 286 | /** |
| 287 | * Sets custom logger service. |
nothing calls this directly
no test coverage detected