Home > @imqueue/rpc > RedisQueue > queueLength

RedisQueue.queueLength() method

Retrieves the current count of messages in the queue

Signature:

queueLength(): Promise<number>;

Returns:

Promise<number>

{Promise}