Skip to main content
The Deno 2 Release Candidate is here
Learn more
Latest
method Queue.prototype.dequeue
import { Queue } from "https://deno.land/x/sptaki@1.2.0/utils/mod.ts";

Removes the first element from the queue and returns it's value. If the queue is empty, undefined is returned and the queue is not modified.