Type Alias: LifecycleState
LifecycleState =
"started"|"stopping"|"stopped"
Defined in: src/utils/lifecycle.ts:110
The state of a RunningLifecycle.
Example
ts
app.get('health').addCheck(() => running.state === 'started');