Skip to main content
Module

std/testing/time.ts>FakeTime#runAll

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
method FakeTime.prototype.runAll
import { FakeTime } from "https://deno.land/std@0.167.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.