Update packages/backend-plugin-api/src/services/definitions/lifecycleServiceRef.ts
Co-authored-by: Fredrik Adelöw <freben@gmail.com> Signed-off-by: Johan Haals <johan@haals.se> Signed-off-by: Johan Haals <johan.haals@gmail.com>
This commit is contained in:
@@ -28,7 +28,7 @@ export type ShutdownHookOptions = {
|
||||
**/
|
||||
export interface BackendLifecycle {
|
||||
/**
|
||||
* Register a function to be called and when the backend is shutting down.
|
||||
* Register a function to be called when the backend is shutting down.
|
||||
*/
|
||||
addShutdownHook(options: ShutdownHookOptions): void;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user