Skip to content

ConsoleSdkResult

Defined in: console-sdk/src/react/hooks/useConsoleSdk.ts:23

What useConsoleSdk returns (SDK_PLAN.md §3.7 row 1).

restart(): void

Defined in: console-sdk/src/react/hooks/useConsoleSdk.ts:35

Recovery from hydration failure. Legal only at status: 'error' — a dev-warned no-op otherwise — and STRICTLY the config-change remount path (§4.2): full ordered disposeRuntime(), then createRuntime(sameConfig) via the keyed RuntimeHost. A partial in-place reset is unrepresentable.

void

error: ConsoleSdkError | null

Defined in: console-sdk/src/react/hooks/useConsoleSdk.ts:27

The hydration failure when status is 'error'; otherwise null.


status: SdkStatus

Defined in: console-sdk/src/react/hooks/useConsoleSdk.ts:25

'starting' = storage hydration in flight; then 'ready' or 'error'.