MCPcopy Create free account
hub / github.com/ZingerLittleBee/ServerBee / useConfigUpdate

Function useConfigUpdate

packages/widget-sdk/src/hooks/host.ts:9–12  ·  view source on GitHub ↗
(instanceId: string)

Source from the content-addressed store, hash-verified

7}
8
9export function useConfigUpdate<TConfig = Record<string, unknown>>(instanceId: string) {
10 const runtime = getRuntime()
11 return (patch: Partial<TConfig>) => runtime.onConfigUpdate(instanceId, patch as Record<string, unknown>)
12}

Callers

nothing calls this directly

Calls 1

getRuntimeFunction · 0.90

Tested by

no test coverage detected