Storage.trackCacheStorageForStorageKeyRegisters storage key to be notified when an update occurs to its cache storage list.
| Name | Type | Description |
|---|---|---|
storageKey | string | Storage key. |
{
"id": 1,
"method": "Storage.trackCacheStorageForStorageKey",
"params": {
"storageKey": "storageKey-value"
}
}
{
"id": 1,
"result": {}
}
const result = await send('Storage.trackCacheStorageForStorageKey', {"storageKey": "storageKey-value"});
console.log(result);