Skip to main content
Module

std/testing/time.ts>FakeTime#next

Deno standard library
Go to Latest
method FakeTime.prototype.next
import { FakeTime } from "https://deno.land/std@0.145.0/testing/time.ts";

Advances time to when the next scheduled timer is due. If there are no pending timers, time will not be changed. Returns true when there is a scheduled timer and false when there is not.

Returns

boolean