MCPcopy Create free account
hub / github.com/dailydotdev/apps / getRecentPages

Function getRecentPages

packages/shared/src/lib/recentPages.ts:41–46  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

39};
40
41export const getRecentPages = (): RecentPage[] => {
42 if (cache === null) {
43 cache = readStorage();
44 }
45 return cache;
46};
47
48export const subscribeRecentPages = (listener: () => void): (() => void) => {
49 listeners.add(listener);

Callers 1

recordRecentPageFunction · 0.85

Calls 1

readStorageFunction · 0.85

Tested by

no test coverage detected