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

x/async/mod.ts

🦕 Asynchronous primitive modules loosely port from Python's asyncio for Deno.
Go to Latest
import * as async from "https://deno.land/x/async@v1.1.2/mod.ts";

Classes

A bounded semaphore object. Not thread-safe.

A Condition object. Not thread-safe.

An event object. Not thread-safe.

Implements a mutex lock for Promise. Not thread-safe.

A first in, first out (FIFO) queue. Non thread-safe.

A Semaphore object. Not thread-safe.

Functions

Return state (fulfilled/rejected/pending) of a promise