Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/grm/deps.ts>CancellablePromise.delay

MTProto API Client for Deno 🦕
Go to Latest
method CancellablePromise.delay
Re-export
import { CancellablePromise } from "https://deno.land/x/grm@0.8.0/deps.ts";

Parameters

ms: number

Returns

CancellablePromise<void>

a CancellablePromise that resolves after ms milliseconds.