MCPcopy
hub / github.com/mitmproxy/mitmproxy / initialize

Function initialize

web/src/js/urlState.ts:106–109  ·  view source on GitHub ↗
(store)

Source from the content-addressed store, hash-verified

104}
105
106export default function initialize(store) {
107 updateStoreFromUrl(store);
108 store.subscribe(() => updateUrlFromStore(store));
109}

Callers 1

urlStateSpec.tsxFile · 0.50

Calls 3

updateStoreFromUrlFunction · 0.85
updateUrlFromStoreFunction · 0.85
subscribeMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…