run method

dynamic run (dynamic callback(FakeAsync self))

Runs callback in a Zone with fake timer and microtask scheduling.

Uses ZoneSpecification.createTimer, ZoneSpecification.createPeriodicTimer, and ZoneSpecification.scheduleMicrotask to store callbacks for later execution within the zone via calls to elapse.

Calls callback with this as argument and returns the result returned by callback.


dynamic run(callback(FakeAsync self));