(key: string, callback: (value: string) => void, cacheValue?: boolean)
| 57 | } |
| 58 | |
| 59 | public static getStoredValue(key: string, callback: (value: string) => void, cacheValue?: boolean): void { |
| 60 | if (!Clipper.storage) { |
| 61 | throw new Error("The remote storage needs to be set up with the extension communicator first"); |
| 62 | } |
| 63 | Clipper.storage.getValue(key, callback, cacheValue); |
| 64 | } |
| 65 | |
| 66 | public static preCacheStoredValues(storageKeys: string[]): void { |
| 67 | if (!Clipper.storage) { |
no test coverage detected