Skip to main content
Go to Latest
method FakeTime.prototype.runAllAsync
import { FakeTime } from "https://deno.land/std@0.151.0/testing/time.ts";

Advances time forward to the next due timer until there are no pending timers remaining. If the timers create additional timers, they will be run too. If there is an interval, time will keep advancing forward until the interval is cleared. Runs all pending microtasks before each timer.

Returns

Promise<void>