Skip to main content
Home

@std/async@1.0.16
Built and signed on GitHub Actions

Works with
This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
This package works with Browsers
JSR Score100%
Downloads16,436/wk
Published2 weeks ago (1.0.16)

Utilities for asynchronous operations, like delays, debouncing, or pooling

Functions

f
delay

Resolve a Promise after a given amount of milliseconds.

Interfaces

Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@std/async

Import symbol

import * as mod from "@std/async/delay";
or

Import directly with a jsr specifier

import * as mod from "jsr:@std/async/delay";

Add Package

pnpm i jsr:@std/async
or (using pnpm 10.8 or older)
pnpm dlx jsr add @std/async

Import symbol

import * as mod from "@std/async/delay";

Add Package

yarn add jsr:@std/async
or (using Yarn 4.8 or older)
yarn dlx jsr add @std/async

Import symbol

import * as mod from "@std/async/delay";

Add Package

vlt install jsr:@std/async

Import symbol

import * as mod from "@std/async/delay";

Add Package

npx jsr add @std/async

Import symbol

import * as mod from "@std/async/delay";

Add Package

bunx jsr add @std/async

Import symbol

import * as mod from "@std/async/delay";