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

x/timers/src/pTimeout.ts>PTimeoutOptions

All timing functions you need - long and async timeouts, intervals, promise timeouts and more
Latest
interface PTimeoutOptions
import { type PTimeoutOptions } from "https://deno.land/x/timers@v0.2.3/src/pTimeout.ts";

Properties

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