Runs the given callback
asynchronously as soon as possible.
This function is equivalent to new Timer(Duration.ZERO, callback)
.
Source
static void run(void callback()) {
new Timer(Duration.ZERO, callback);
}
Runs the given callback
asynchronously as soon as possible.
This function is equivalent to new Timer(Duration.ZERO, callback)
.
static void run(void callback()) {
new Timer(Duration.ZERO, callback);
}