Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/async/queue.ts>Queue#push

🦕 Asynchronous primitive modules loosely port from Python's asyncio for Deno.
Go to Latest
method Queue.prototype.push
import { Queue } from "https://deno.land/x/async@v2.0.0/queue.ts";

Adds an item to the end of the queue and notifies any waiting consumers.

Parameters

value: T

The item to add to the queue.