DOMStorageDomain

Query and modify DOM storage.

Official doc

Functions

Link copied to clipboard
suspend fun clear(input: ClearRequest): ClearResponse
suspend fun clear(storageId: StorageId): ClearResponse
Link copied to clipboard
suspend fun disable(): DisableResponse

Disables storage tracking, prevents storage events from being sent to the client.

Link copied to clipboard
suspend fun enable(): EnableResponse

Enables storage tracking, storage events will now be delivered to the client.

Link copied to clipboard
fun events(): Flow<DOMStorageEvent>

Subscribes to all events related to this domain.