MCPcopy
hub / github.com/ChatGPTNextWeb/NextChat / markUpdate

Function markUpdate

app/utils/store.ts:56–60  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

54 ...methods(set, get as any),
55
56 markUpdate() {
57 set({ lastUpdateTime: Date.now() } as Partial<
58 T & M & MakeUpdater<T>
59 >);
60 },
61 update(updater) {
62 const state = deepClone(get());
63 updater(state);

Callers

nothing calls this directly

Calls 1

setFunction · 0.50

Tested by

no test coverage detected