Skip to main content
Deno 2 is finally 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.173.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>