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

Function getRuntime

packages/widget-sdk/src/runtime-context.ts:69–74  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

67}
68
69export function getRuntime(): WidgetRuntime {
70 if (!_runtime) {
71 throw new Error('widget-sdk: runtime not installed (host bridge missing)')
72 }
73 return _runtime
74}
75
76export function resetRuntime(): void {
77 _runtime = null

Callers 11

askConfirmFunction · 0.90
notifyFunction · 0.90
getMetricPathSuggestionsFunction · 0.90
FieldFunction · 0.90
useThemeFunction · 0.90
useConfigUpdateFunction · 0.90
useServersFunction · 0.90
useServerFunction · 0.90
useMetricFunction · 0.90
useCapabilityFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected