UNPKG

@loopback/docs

Version:
28 lines (18 loc) 777 B
--- lang: en title: 'API docs: core.application.setupshutdown' keywords: LoopBack 4.0, LoopBack 4 sidebar: lb4_sidebar editurl: https://github.com/strongloop/loopback-next/tree/master/packages/core permalink: /doc/en/lb4/apidocs.core.application.setupshutdown.html --- <!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@loopback/core](./core.md) &gt; [Application](./core.application.md) &gt; [setupShutdown](./core.application.setupshutdown.md) ## Application.setupShutdown() method Set up signals that are captured to shutdown the application <b>Signature:</b> ```typescript protected setupShutdown(): (signal: string) => Promise<void>; ``` <b>Returns:</b> `(signal: string) => Promise<void>`