Skip to main content
The Deno 2 Release Candidate is here
Learn more
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
method FakeTime.prototype.nextAsync
import { FakeTime } from "https://deno.land/std@0.172.0/testing/time.ts";

Runs all pending microtasks then advances time to when the next scheduled timer is due. If there are no pending timers, time will not be changed.

Returns

Promise<boolean>