Page Contents

Home > @loopback/core > Application > stop

Application.stop() method

Stop the application instance and all of its registered observers. The application state is checked to ensure the integrity of stop.

If the application is already stopped or not started, no operation is performed.

Signature:

stop(): Promise<void>;

Returns:

Promise<void>