ManagedZoneBase class abstract

A partial implementation of ManagedZone without bindings to Angular.

Inheritance
Implementers

Constructors

ManagedZoneBase()

Properties

hashCode int
The hash code for this object.
no setterinherited
inInnerZone bool
Whether we are currently executing in the inner zone. This can be used by clients to optimize and call runOutside when needed.
no setteroverride
innerZone Zone?
no setter
inOuterZone bool
Whether we are currently executing in the outer zone. This can be used by clients to optimize and call runInside when needed.
no setteroverride
isRunning bool
Whether onTurnStart has been triggered and onTurnDone has not.
no setteroverride
onEventDone Stream
A synchronous stream that fires when the last turn in an event completes. This indicates VM event loop end.
no setteroverride
onTurnDone Stream
A synchronous stream that fires when the VM turn is finished, which means when the inner (managed) zone has completed it's private microtask queue.
no setteroverride
onTurnStart Stream
A synchronous stream that fires when the VM turn has started, which means that the inner (managed) zone has not executed any microtasks.
no setteroverride
outerZone Zone?
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

capturedEventDone(dynamic event) → void
capturedTurnDone(dynamic event) → void
capturedTurnStart(dynamic event) → void
dispose() → void
Disposes this disposable and any resources it has open.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
runInside<T>(T fn()) → T
Runs the code within fn inside of this zone. This may trigger an onTurnStart and onTurnDone event if you are outside the zone when calling. onTurnStart may be executed after executing fn.
override
runOutside<T>(T fn()) → T
Runs the code within fn outside of this zone.
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited