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

x/async/queue.ts>Queue#get

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

Remove and return an item from the queue. If queue is empty, wait until an item is available.

Returns

Promise<T>