events property

Stream<WatchEvent> events

The broadcast Stream of events that have occurred to the watched file or files in the watched directory.

Changes will only be monitored while this stream has subscribers. Any changes that occur during periods when there are no subscribers will not be reported the next time a subscriber is added.

Implementation

Stream<WatchEvent> get events;