* - length is an integer counting the length of the jobs in the queue * - this does not include delayed jobs for this queue
(q: string)
| 200 | * - this does not include delayed jobs for this queue |
| 201 | */ |
| 202 | async length(q: string) { |
| 203 | return this.connection.redis.llen(this.connection.key("queue", q)); |
| 204 | } |
| 205 | |
| 206 | /** |
| 207 | * - jobs are deleted by those matching a `func` and argument collection within a given queue. |
no test coverage detected