Works with
•JSR Score70%•It is unknown whether this package works with Browsers, Deno, Node.js, Cloudflare Workers, Bun




Published2 years ago (0.215.0)
Classes
c
Error thrown when Deadline times out.
Functions
f
deadline<T>(): Promise<T>
p: Promise<T>,
ms: number,
options?: DeadlineOptions
Create a promise which will be rejected with DeadlineError when
a given delay is exceeded.
Interfaces
I
Options for Deadline.
- signal: AbortSignal
Signal used to abort the deadline.