This release is versions behind 1.4.0 — the latest version of @std/async.
Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Built and signed on GitHub Actions
Works with
•JSR Score100%•This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers




License
•MIT
Downloads28,242/wk
•Publisheda month ago (1.3.0)
Utilities for asynchronous operations, like delays, debouncing, or pooling
Functions
f
deadline<T>(): Promise<T>
p: Promise<T>,
ms: number,
options?: DeadlineOptions
Create a promise which will be rejected with DOMException when
a given delay is exceeded.