PreloadDomain

(undocumented in the protocol definition)

Official doc

Functions

Link copied to clipboard
suspend fun disable(): DisableResponse

(undocumented in the protocol definition)

Link copied to clipboard
suspend fun enable(): EnableResponse

(undocumented in the protocol definition)

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

Subscribes to all events related to this domain.

Link copied to clipboard

Fired when a prefetch attempt is updated.

Link copied to clipboard

Fired when a preload enabled state is updated.

Link copied to clipboard

Send a list of sources for all preloading attempts in a document.

Link copied to clipboard

Fired when a prerender attempt is updated.

Link copied to clipboard
Link copied to clipboard

(undocumented in the protocol definition)

Link copied to clipboard
Link copied to clipboard

Upsert. Currently, it is only emitted when a rule set added.