MCPcopy Create free account
hub / github.com/QuarkGluonPlasma/react-course-code / destroy

Function destroy

zustand-test/src/myZustand.js:31–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29 }
30
31 const destroy= () => {
32 listeners.clear()
33 }
34
35 const api = { setState, getState, subscribe, destroy }
36

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected