Skip to content

Connectum API Reference / @connectum/core / types / ServerState

Variable: ServerState

const ServerState: 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

readonly CREATED: "created" = "created"

Server created but not started

RUNNING

readonly RUNNING: "running" = "running"

Server is running and accepting connections

STARTING

readonly STARTING: "starting" = "starting"

Server is starting

STOPPED

readonly STOPPED: "stopped" = "stopped"

Server has stopped

STOPPING

readonly STOPPING: "stopping" = "stopping"

Server is stopping