onUpdated property

EventStream<Map> get onUpdated

Fired each time the Task Manager updates its process statistics, providing the dictionary of updated Process objects, indexed by process ID. |processes|: A dictionary of updated Process objects for each live process in the browser, indexed by process ID. Metrics requiring aggregation over time will be populated in each Process object.

Implementation

EventStream<Map> get onUpdated =>
    $js.chrome.processes.onUpdated.asStream(($c) => (JSAny processes) {
          return $c(processes.toDartMap());
        });