onJobDone property

Stream<void> onJobDone

Sets the function that will be called when the job is done.

A job is done when it has finished with a result, or failed with an error. Canceling a job will also set an error. Setting the function to null after it has already been set will stop the function from being called.

Implementation

Stream<void> get onJobDone => _jobDoneStreamController.stream;