Skip to main content

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

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

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 Score
100%
Published
2 weeks ago (1.0.10)

Functions

f
delay

Resolve a Promise after a given amount of milliseconds.

Interfaces

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

npx jsr add @std/async

Import symbol

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

Add Package

yarn dlx jsr add @std/async

Import symbol

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

Add Package

pnpm dlx 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";