MCPcopy Create free account
hub / github.com/violentmonkey/violentmonkey / setOne

Method setOne

src/background/utils/storage.js:58–60  ·  view source on GitHub ↗
(id, value)

Source from the content-addressed store, hash-verified

56 }
57
58 async setOne(id, value) {
59 if (id) return this.set({ [id]: value });
60 }
61
62 /**
63 * @param {Object} data

Callers 5

doFetchFunction · 0.80
requestNewerFunction · 0.80
writeOptionsFunction · 0.80
fetchResourcesFunction · 0.80
tester.jsFile · 0.80

Calls 1

setMethod · 0.95

Tested by

no test coverage detected