Home > @imqueue/rpc > IMessageQueue > queueLength

IMessageQueue.queueLength() method

Retrieves the current count of messages in the queue. Supposed to be an async function.

Signature:

queueLength(): Promise<number>;

Returns:

Promise<number>

{Promise}