MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / onChange

Function onChange

src/lib/adRewards.js:264–267  ·  view source on GitHub ↗
(listener)

Source from the content-addressed store, hash-verified

262 await refreshState({ notifyExpiry: false });
263 },
264 onChange(listener) {
265 listeners.add(listener);
266 return () => listeners.delete(listener);
267 },
268 async handleResume() {
269 await refreshState({ notifyExpiry: true });
270 },

Callers

nothing calls this directly

Calls 2

addMethod · 0.80
deleteMethod · 0.65

Tested by

no test coverage detected