onRuleMatchedDebug property

EventStream<MatchedRuleInfoDebug> get onRuleMatchedDebug

Fired when a rule is matched with a request. Only available for unpacked extensions with the "declarativeNetRequestFeedback" permission as this is intended to be used for debugging purposes only.

Implementation

EventStream<MatchedRuleInfoDebug> get onRuleMatchedDebug =>
    $js.chrome.declarativeNetRequest.onRuleMatchedDebug
        .asStream(($c) => ($js.MatchedRuleInfoDebug info) {
              return $c(MatchedRuleInfoDebug.fromJS(info));
            }.toJS);