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

x/typeorm/src/util/PromiseQueue.ts>PromiseQueue

Forked from https://github.com/typeorm/typeorm
Latest
class PromiseQueue
import { PromiseQueue } from "https://deno.land/x/typeorm@v0.2.23-rc10/src/util/PromiseQueue.ts";

Properties

private
onEmptyPromise
private
queue

Methods

private
dequeueLoop(): Promise<void>
add(fn: () => Promise<T>): Promise<T>
onEmpty(): Promise<void>