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

x/easyts/container/mod.ts>Queue#popFrontRaw

js library written with ts, use select and chan like golang in js.
Latest
method Queue.prototype.popFrontRaw
import { Queue } from "https://deno.land/x/easyts@0.1.3/container/mod.ts";

If the queue is not empty delete the element at the front

Parameters

optional
callback: DeleteCallback<T>

call the callback on the removed element

Returns

deleted data