MCPcopy Create free account
hub / github.com/WebDevSimplified/job-queue / constructor

Function constructor

src/job-queue/queue.ts:16–22  ·  view source on GitHub ↗
(
    queueName: string,
    options: QueueOptions = { retryAttempts: 10, retryDelay: 1000 }
  )

Source from the content-addressed store, hash-verified

14 protected options: QueueOptions
15
16 constructor(
17 queueName: string,
18 options: QueueOptions = { retryAttempts: 10, retryDelay: 1000 }
19 ) {
20 this.queueName = queueName
21 this.options = options
22 }
23
24 async addJob(
25 job: Omit<Job<T>, "id" | "options"> & {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected