MCPcopy Create free account
hub / github.com/FlowiseAI/Flowise / unregister

Function unregister

packages/ui/src/serviceWorker.js:122–132  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

120}
121
122export function unregister() {
123 if ('serviceWorker' in navigator) {
124 navigator.serviceWorker.ready
125 .then((registration) => {
126 registration.unregister()
127 })
128 .catch((error) => {
129 console.error(error.message)
130 })
131 }
132}

Callers

nothing calls this directly

Calls 2

unregisterMethod · 0.65
catchMethod · 0.45

Tested by

no test coverage detected