Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/async/delay.ts>DelayOptions

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
interface DelayOptions
import { type DelayOptions } from "https://deno.land/std@0.204.0/async/delay.ts";

Properties

optional
signal: AbortSignal

Signal used to abort the delay.

optional
persistent: boolean = true

Indicates whether the process should continue to run as long as the timer exists.