discontinuedPackage refreshed has been discontinued and replaced by getxify.

GetMicrotask class

A utility class for executing microtasks sequentially.

Microtasks added using exec will be executed sequentially in the order they were added. Each microtask is represented by a Function callback provided to exec. Microtasks are executed asynchronously using scheduleMicrotask.

Constructors

GetMicrotask()

Properties

hashCode → int
The hash code for this object.
no setterinherited
microtask → int
The current microtask version number.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
version → int
The current version number.
no setter

Methods

exec(Function callback) → void
Executes the provided callback as a microtask.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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