Skip to main content
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.213.0/async/delay.ts";

Options for delay.

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.