Module

std/testing/time.ts>FakeTime#delay

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

Resolves after the given number of milliseconds using real time.

Parameters

ms: number
optional
options: DelayOptions = [UNSUPPORTED]

Returns

Promise<void>