Returns the length of the queue (the number of tasks waiting to run). This is the same as the length of the value returned by rrq_queue_list.
Arguments
- queue
The name of the queue to query (defaults to the "default" queue).
- controller
The controller to use. If not given (or
NULL
) we'll use the controller registered withrrq_default_controller_set()
.