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

x/delayed/mod.ts

A simple module that provide an asynchronous approach to interval, delay and timeout
Latest
import * as delayed from "https://deno.land/x/delayed@2.1.1/mod.ts";

Functions

Return an asynchronous generator that yield indefinitely the callback at least after the specified delay

Asynchronous sleep during the specified delay.

Synchronous sleep during the specified delay.

Execute the callback at least after the specified delay