onPrintJobFinished property

EventStream<PrintJobInfo> get onPrintJobFinished

Event fired when the print job is finished. This includes any of termination statuses: FAILED, CANCELED and PRINTED.

Implementation

EventStream<PrintJobInfo> get onPrintJobFinished =>
    $js.chrome.printingMetrics.onPrintJobFinished
        .asStream(($c) => ($js.PrintJobInfo jobInfo) {
              return $c(PrintJobInfo.fromJS(jobInfo));
            }.toJS);