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

x/timers/src/pTimeout.ts>PTimeoutOptions

All timing functions you need - for Deno and the browser
Go to Latest
interface PTimeoutOptions
import { type PTimeoutOptions } from "https://deno.land/x/timers@v0.2.0/src/pTimeout.ts";

Properties

optional
signal: AbortSignal
optional
fallbackFn: () => Promise<T>
optional
failMessage: string
optional
failError: Error