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

Function init

src/lib/adRewards.js:261–263  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

259
260export default {
261 async init() {
262 await refreshState({ notifyExpiry: false });
263 },
264 onChange(listener) {
265 listeners.add(listener);
266 return () => listeners.delete(listener);

Callers

nothing calls this directly

Calls 1

refreshStateFunction · 0.85

Tested by

no test coverage detected