Module

x/pg_mem/utils.ts>AsyncQueue

An in memory postgres DB instance for your unit tests
Go to Latest
class AsyncQueue
import { AsyncQueue } from "https://dotland.deno.dev/x/pg_mem@3.0.2/utils.ts";

Properties

private
processing: boolean
private
queue: (() => Promise<any>)[]

Methods

private
processQueue(): Promise<void>
enqueue(task: () => Promise<any>): void