Skip to main content
Module

x/carriageway/index.min.d.ts>QueueOptions

🦥 Run async functions with limited concurrency and optional rate limiting
Latest
interface QueueOptions
import { type QueueOptions } from "https://deno.land/x/carriageway@v0.12.0/index.min.d.ts";

Init options for Queue class

Properties

optional
concurrency: number

Maximum number of active items running at once

optional
throttle: number

Minimum number of milliseconds between start of each item