@lexamica-modules/job-queue
Version:
The package for the Lexamica Job Queue SDK powered by Redis and BullMQ
13 lines (12 loc) • 753 B
TypeScript
import { CommonQueueManagement } from "./common";
/**
* This is the instance for the central Lexamica API. This instance has access to almost all queues so that the Lexamica API can assign, manage, and process jobs.
*/
export declare class Mainframe extends CommonQueueManagement {
/**
* Initialize a mainframe instance using an optional manual list of queues and an optional remote Redis url
* @param connection_url if given, instance will connect to this remote Redis. Otherwise a local instance will be used.
* @param initQueues if given, local queue instances will be built off of this. Recommend not specifying this unless you know what you are doing.
*/
constructor(connection_url?: string, initQueues?: string[]);
}