onChange property

Stream onChange

Notifies the listeners about a state change in Executor, for example:

  • one or more tasks have started
  • one or more tasks have completed

Clients can use this to monitor scheduledCount and queue more tasks to ensure Executor is running on full capacity.

Implementation

Stream get onChange;