CurrentZoneScheduler class

Asynchronous scheduler that executes actions in Zone.current.

Inheritance

Constructors

CurrentZoneScheduler()
const

Properties

hashCode int
The hash code for this object.
no setterinherited
now DateTime
Returns the current time.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
zone Zone
no setteroverride

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
schedule(Callback0 callback) Disposable
Schedules a callback to be executed.
inherited
scheduleAbsolute(DateTime dateTime, Callback0 callback) Disposable
Schedules a callback to be executed at the specified dateTime.
inherited
scheduleIteration(Predicate0 callback) Disposable
Schedules a callback to be executed while its return value is true.
inherited
schedulePeriodic(Duration duration, Callback1<Disposable> callback) Disposable
Schedules a callback to be executed periodically every duration.
inherited
scheduleRelative(Duration duration, Callback0 callback) Disposable
Schedules a callback to be executed after the specified duration.
inherited
toString() String
A string representation of this object.
inherited

Operators

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