Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/poolifier/src/mod.ts>Deque#push

Fast and small web worker pool
Latest
method Deque.prototype.push
import { Deque } from "https://deno.land/x/poolifier@v0.3.14/src/mod.ts";

Appends data to the deque.

Parameters

data: T
  • Data to append.

Returns

number

The new size of the deque.