MCPcopy
hub / github.com/coder/mux / writeState

Function writeState

src/browser/utils/modelPreferenceRepair.test.ts:37–40  ·  view source on GitHub ↗
(key: string, value: T)

Source from the content-addressed store, hash-verified

35}
36
37function writeState<T>(key: string, value: T): void {
38 touchedKeys.add(key);
39 updatePersistedState(key, value);
40}
41
42function readString(key: string): string | undefined {
43 touchedKeys.add(key);

Callers 1

Calls 2

updatePersistedStateFunction · 0.90
addMethod · 0.80

Tested by

no test coverage detected