ConsoleSdkResult
Defined in: console-sdk/src/react/hooks/useConsoleSdk.ts:23
What useConsoleSdk returns (SDK_PLAN.md §3.7 row 1).
Methods
Section titled “Methods”restart()
Section titled “restart()”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.
Returns
Section titled “Returns”void
Properties
Section titled “Properties”error:
ConsoleSdkError|null
Defined in: console-sdk/src/react/hooks/useConsoleSdk.ts:27
The hydration failure when status is 'error'; otherwise null.
status
Section titled “status”status:
SdkStatus
Defined in: console-sdk/src/react/hooks/useConsoleSdk.ts:25
'starting' = storage hydration in flight; then 'ready' or 'error'.