Skip to main content
Module

x/batch_queue/mod.ts>BatchQueue

Typescript implement of concurrent queue which maintains n concurrent jobs, pulling more when required
Latest
class BatchQueue
import { BatchQueue } from "https://deno.land/x/batch_queue@v0.0.1/mod.ts";

Constructors

new
BatchQueue(width: number)

Properties

readonly
all
readonly
allSettled
readonly
queued
readonly
running
readonly
started
readonly
width: number

Methods

queue(...fn: AsyncFn[])
run()