DevConsoleRuntime

class DevConsoleRuntime(runtimeGate: RuntimeGate)

Constructors

Link copied to clipboard
constructor(runtimeGate: RuntimeGate)

Properties

Link copied to clipboard
val health: StateFlow<SdkHealth>
Link copied to clipboard
val state: StateFlow<DevConsoleState>

Functions

Link copied to clipboard
fun beginServerStart(): StartResult?

Reserves the runtime lifecycle for a platform server start. The core module deliberately does not know about a concrete server implementation; platform facades complete this transition after their loopback engine has started.

Link copied to clipboard

The one app-run identifier shared by platform capture and durable storage.

Link copied to clipboard
fun initialize(requestedConfig: DevConsoleConfig, provisional: Boolean = false): InitResult

provisional marks a config installed by auto-initialization rather than by the host. Such a config is replaced by the first explicit initialize instead of conflicting with it.

Link copied to clipboard

Counts events lost before reaching durable storage.

Link copied to clipboard

Counts one captured event onto health; platform capture funnels every emission through here.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
suspend fun start(): StartResult
Link copied to clipboard
fun stop(reason: StopReason)