MCPcopy Create free account
hub / github.com/Useful-Scripts-Extension/useful-script / F

Function F

scripts/backup/fb-proxy.js:241–250  ·  view source on GitHub ↗
(e, t)

Source from the content-addressed store, hash-verified

239 return e;
240 }
241 function F(e, t) {
242 return (
243 (c[e] = c[e] || []),
244 c[e].push(t),
245 () => {
246 const d = c[e].findIndex(t);
247 c[e].splice(d, 1);
248 }
249 );
250 }
251 function C(e) {
252 if (c[e]) for (let t of c[e]) t();
253 }

Callers 2

applyFunction · 0.70
fb-proxy.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected