NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #85 most downloaded on pub.dev
Fake asynchronous events such as timers and microtasks for deterministic testing.
Last release 2 years ago
no release in 18 months
Ships unpredictably
gaps range from 2 weeks to 2.3 years
Most releases are documented
notes for 9 of 11 stable releases
Nothing withdrawn
no release was ever pulled
12 years old
16 releases · first in 2014
Make the zone create*Timer and scheduleMicrotask be responsible for running callbacks in the zone they're scheduled in, matching (new) standard zone b
create*Timer and scheduleMicrotask
be responsible for running callbacks in the zone they're
scheduled in, matching (new) standard zone behavior.
(The Timer constructors and top-level scheduleMicrotask
used to bind their callback, but now only registers it,
leaving the zone to run in the correct zone and handle errors.)tick by more than one
if elapseBlocking advanced time past multiple ticks.Fix bug where a flushTimers or elapse call from within the callback of a periodic timer would immediately invoke the same timer.
flushTimers or elapse call from within
the callback of a periodic timer would immediately invoke
the same timer.dart-lang/test monorepo.One column per quarter.
Populate the pubspec repository field.
repository field.FakeTimer.tick will return a value instead of throwing.
FakeTimer.tick will return a value instead of throwing.FakeAsync.includeTimerStackTrace allows controlling whether timers created
with a FakeAsync will include a creation Stack Trace.Stable release for null safety.
Update SDK constraints to >=2.12.0-0 <3.0.0 based on beta release guidelines.
>=2.12.0-0 <3.0.0 based on beta release
guidelines.Allow prerelease versions of the 2.12 sdk.
Allow 2.10 stable and 2.11.0 dev SDK versions.
Note that 1.2.0 may not be the final stable null safety release version, we reserve the right to release it as a 2.0.0 breaking change.
Pre-release for the null safety migration of this package.
Note that 1.2.0 may not be the final stable null safety release version,
we reserve the right to release it as a 2.0.0 breaking change.
This release will be pinned to only allow pre-release sdk versions starting
from 2.10.0-0.
Exposed the FakeTimer class as a public class.
FakeTimer class as a public class.FakeAsync.pendingTimers which gives access to all pending timers at
the time of the call.Nothing published for this version
Fix use of deprecated isInstanceOf matcher.
isInstanceOf matcher.This release contains the FakeAsync class that was defined in [quiver][]. It's backwards-compatible with both the quiver version *and* the old version
This release contains the FakeAsync class that was defined in quiver.
It's backwards-compatible with both the quiver version and the old version
of the fake_async package.
fakeAsync() function was added that encapsulates
new FakeAsync().run(...).quiverFakeAsync.elapsed returns the total amount of fake time elapsed since the
FakeAsync instance was created.
new FakeAsync() now takes an initialTime argument that sets the default
time for clocks created with FakeAsync.getClock(), and for the clock
package's top-level clock variable.
fake_async 0.1FakeAsync.periodicTimerCount, FakeAsync.nonPeriodicTimerCount, and
FakeAsync.microtaskCount provide visibility into the events scheduled within
FakeAsync.run().
FakeAsync.getClock() provides access to fully-featured Clock objects based
on FakeAsync's elapsed time.
FakeAsync.flushMicrotasks() empties the microtask queue without elapsing any
time or running any timers.
FakeAsync.flushTimers() runs all microtasks and timers until there are no
more scheduled.
Integrate with the clock package.
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →