onTurnDone property

Stream<void> onTurnDone

Notifies when a final callback is executed within this zone.

At this point in the execution, future tasks are being executed within the parent (outer) zone, until another event occurs within the zone, which in turn will start onTurnStart again.

WARNING: Causing an asynchronous task while listening to this stream will cause an infinite loop, as the zone constantly starts and ends indefinitely.

Implementation

Stream<void> get onTurnDone => _onTurnDone.stream;