Page Contents

Home > @loopback/core > Application > setupShutdown

Application.setupShutdown() method

Set up signals that are captured to shutdown the application

Signature:

protected setupShutdown(): (signal: string) => Promise<void>;

Returns:

(signal: string) => Promise<void>