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

x/async/stack.ts>Stack#push

🦕 Asynchronous primitive modules for Deno.
Go to Latest
method Stack.prototype.push
import { Stack } from "https://deno.land/x/async@v2.0.2/stack.ts";

Adds an item to the top of the stack and notifies any waiting consumers.

Parameters

value: T

The item to add to the stack.