onPrefetchStatusUpdated property

Stream<PrefetchStatusUpdatedEvent> get onPrefetchStatusUpdated

TODO(crbug/1384419): Create a dedicated domain for preloading. Fired when a prefetch attempt is updated.

Implementation

Stream<PrefetchStatusUpdatedEvent> get onPrefetchStatusUpdated => _client
    .onEvent
    .where((event) => event.name == 'Page.prefetchStatusUpdated')
    .map((event) => PrefetchStatusUpdatedEvent.fromJson(event.parameters));