method IApplication.stop IApplication.stop(): Promise<void> Stops the server and runs shutdown hooks. Return Type Promise<void>