MCPcopy
hub / github.com/refly-ai/refly / set

Method set

apps/api/src/utils/cache.ts:46–50  ·  view source on GitHub ↗

* Manually set cache data and refresh timestamp

(data: T)

Source from the content-addressed store, hash-verified

44 * Manually set cache data and refresh timestamp
45 */
46 set(data: T) {
47 this.data = data;
48 this.dataSyncedAt = new Date();
49 this.dataFetchPromise = null;
50 }
51}

Callers 15

mergeErrorCodesFunction · 0.80
groupApiEndpointsFunction · 0.80
mountFunction · 0.80
replaceFunction · 0.80
openModalFunction · 0.80
updateDataMethod · 0.80
updateNodeMethod · 0.80
updateEdgeMethod · 0.80
removeNodeMethod · 0.80
removeEdgeMethod · 0.80
findByResultIdMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected