userTaskEvents property

Stream<UserTask> get userTaskEvents

A stream of UserTask events generate whenever a user task change state, like enqueued, dequeued, done, and expire.

This stream is useful in a StreamBuilder to listen on changes to the userTaskQueue.

Implementation

Stream<UserTask> get userTaskEvents => _controller.stream;