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

x/postgres/utils/deferred.ts>DeferredStack

PostgreSQL driver for Deno
Extremely Popular
Go to Latest
class DeferredStack
import { DeferredStack } from "https://deno.land/x/postgres@v0.16.1/utils/deferred.ts";

Constructors

new
DeferredStack(
max?: number,
ls?: Iterable<T>,
creator?: () => Promise<T>,
)

Properties

readonly
available: number
readonly
size: number

Methods

pop(): Promise<T>
push(value: T): void