stream property

Stream<MonitorItem> stream

A Stream of items that this Monitor has detected and shared with listeners.

The stream is a broadcast stream, meaning it can have many listeners, and if nobody is listening the events will just be dropped. The stream will not catch up any late listeners who missed earlier events.

Implementation

Stream<MonitorItem> get stream => _streamController.stream;