MCPcopy Index your code
hub / github.com/nukeop/nuclear / setGlobal

Method setGlobal

packages/plugin-sdk/src/api/settings.ts:48–50  ·  view source on GitHub ↗
(id: string, value: T)

Source from the content-addressed store, hash-verified

46 }
47
48 setGlobal<T extends SettingValue = SettingValue>(id: string, value: T) {
49 return this.#withHost((h) => h.setGlobal<T>(id, value));
50 }
51
52 subscribe<T extends SettingValue = SettingValue>(
53 id: string,

Callers 1

settings.test.tsFile · 0.45

Calls 1

#withHostMethod · 0.95

Tested by

no test coverage detected