Module

x/postgres/utils/deferred.ts>DeferredStack

PostgreSQL driver for Deno
Extremely Popular
Go to Latest
class DeferredStack
import { DeferredStack } from "https://dotland.deno.dev/x/postgres@v0.19.0/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