MCPcopy Create free account
hub / github.com/DevLARLEY/PlayreadyProxy2 / removeStorage

Method removeStorage

utils.js:29–39  ·  view source on GitHub ↗
(keys)

Source from the content-addressed store, hash-verified

27 }
28
29 static async removeStorage(keys) {
30 return new Promise((resolve, reject) => {
31 chrome.storage.local.remove(keys, (result) => {
32 if (chrome.runtime.lastError) {
33 reject(new Error(chrome.runtime.lastError));
34 } else {
35 resolve(result);
36 }
37 });
38 });
39 }
40}
41
42export class SettingsManager {

Calls

no outgoing calls

Tested by

no test coverage detected