Skip to main content
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.2.0/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