MCPcopy
hub / github.com/kickscondor/fraidycat / client

Method client

src/js/webext/storage.js:189–194  ·  view source on GitHub ↗
(fn)

Source from the content-addressed store, hash-verified

187 }
188
189 client(fn) {
190 browser.runtime.onMessage.addListener(async (msg) => {
191 fn(this.decode(msg))
192 return true
193 })
194 }
195
196 command(action, data) {
197 if (data)

Callers 1

follows.jsFile · 0.45

Calls 1

decodeMethod · 0.95

Tested by

no test coverage detected