onResourceAdded property

EventStream<Resource> get onResourceAdded

Fired when a new resource is added to the inspected page.

Implementation

EventStream<Resource> get onResourceAdded =>
    $js.chrome.devtools.inspectedWindow.onResourceAdded
        .asStream(($c) => ($js.Resource resource) {
              return $c(Resource.fromJS(resource));
            });