onTurnStart property

Stream<void> onTurnStart

Notifies when an initial callback is executed within this zone.

At this point in the execution AngularDart will start recording pending microtasks and some macrotasks (such as timers), and fire any number of onMicrotaskEmpty events until onTurnDone.

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 onTurnStart => _onTurnStart.stream;