maintainZoneOnCallbacks property
- @Deprecated('For legacy reasons. DO NOT USE unless you talk to AngularDart.')
getter/setter pair
Whether to execute functions scheduled within Zone.current.
This is the expected behavior and contract of Dart applications, but is
not applied automatically to every callback (only to Futures and Streams).
Eventually, this flag will be flipped to true
, and deleted (all code
must use this behavior).
By flipping this to false
, it means:
- Zone.current will be not be restored when the callbacks are executed.
- AngularDart (or any parent zone) will not know about the change.
Implementation
@Deprecated('For legacy reasons. DO NOT USE unless you talk to AngularDart.')
static bool maintainZoneOnCallbacks = true;