onUpdatedWithMemory property

EventStream<Map> get onUpdatedWithMemory

Fired each time the Task Manager updates its process statistics, providing the dictionary of updated Process objects, indexed by process ID. Identical to onUpdate, with the addition of memory usage details included in each Process object. Note, collecting memory usage information incurs extra CPU usage and should only be listened for when needed. |processes|: A dictionary of updated Process objects for each live process in the browser, indexed by process ID. Memory usage details will be included in each Process object.

Implementation

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