MCPcopy
hub / github.com/nukeop/nuclear / get

Method get

packages/plugin-sdk/src/api/settings.ts:36–38  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

34 }
35
36 get<T extends SettingValue = SettingValue>(id: string) {
37 return this.#withHost((h) => h.get<T>(id));
38 }
39
40 set<T extends SettingValue = SettingValue>(id: string, value: T) {
41 return this.#withHost((h) => h.set<T>(id, value));

Callers 3

useSettingFunction · 0.45
settings.test.tsFile · 0.45
createFramerMotionMockFunction · 0.45

Calls 1

#withHostMethod · 0.95

Tested by

no test coverage detected