Skip to main content
Module

std/testing/time.ts>FakeTime#delay

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
method FakeTime.prototype.delay
import { FakeTime } from "https://deno.land/std@0.202.0/testing/time.ts";

Resolves after the given number of milliseconds using real time.

Parameters

ms: number
optional
options: DelayOptions = [UNSUPPORTED]

Returns

Promise<void>