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

x/effection/lib/queue.ts

Structured concurrency and effects for JavaScript
Latest
import * as effection from "https://deno.land/x/effection@4.0.0-alpha.1/lib/queue.ts";

Functions

Creates a new queue. Queues are unlimited in size and sending a message to a queue is always synchronous.

Interfaces

A FIFO queue which can be used to implement the Subscription interface directly. Most of the time, you will use either a Signal or a Channel as the mechanism, but Queue allows you to manage a single subscription directly.