← Back to Storage domain

Storage.trackCacheStorageForStorageKey

Registers storage key to be notified when an update occurs to its cache storage list.

Domain: Storage experimental

Parameters

NameTypeDescription
storageKeystringStorage key.

Example Request

{
  "id": 1,
  "method": "Storage.trackCacheStorageForStorageKey",
  "params": {
    "storageKey": "storageKey-value"
  }
}

Example Response

{
  "id": 1,
  "result": {}
}

Usage in Node.js

const result = await send('Storage.trackCacheStorageForStorageKey', {"storageKey": "storageKey-value"});
console.log(result);