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

Method length

src/job-queue/redis-adapter.ts:21–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19 }
20
21 get length() {
22 return this.redisNonBlocking.zcard(this.activeJobsQueue)
23 }
24
25 async getOrWaitForJob() {
26 const data = await this.redisBlocking.bzpopmin(this.activeJobsQueue, 0)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected