import queue from "queue"; import { concurrency } from "../config.json"; import ScreenshotRequest from "./request"; const q = queue({ concurrency, autostart: true, results: [] }); const requests: Record = {}; export { requests, q };