Connectum API Reference / @connectum/core / types / ServerState
Variable: ServerState ​
constServerState:object
Defined in: packages/core/src/types.ts:148
Server state constants
Note: Using const object instead of enum for native TypeScript compatibility
Type Declaration ​
CREATED ​
readonlyCREATED:"created"="created"
Server created but not started
RUNNING ​
readonlyRUNNING:"running"="running"
Server is running and accepting connections
STARTING ​
readonlySTARTING:"starting"="starting"
Server is starting
STOPPED ​
readonlySTOPPED:"stopped"="stopped"
Server has stopped
STOPPING ​
readonlySTOPPING:"stopping"="stopping"
Server is stopping
