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

Function subscribe

packages/shared/src/components/shell/shellRefresh.ts:15–20  ·  view source on GitHub ↗
(listener: () => void)

Source from the content-addressed store, hash-verified

13};
14
15const subscribe = (listener: () => void) => {
16 listeners.add(listener);
17 return () => {
18 listeners.delete(listener);
19 };
20};
21
22// The row folds when the refetch settles, or after a bound in case a query
23// never does (a failing ad slot, a socket).

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected