/
Queue Count
Queue Count
You can also use queue.count() to obtain the number of messages in the current component's queue. This can be useful for many applications.
One of the ways we use it is with our Build system.
If we have several Git commits queued up, then we skip the first few in the queue because builds take a few minutes and it doesn’t make sense to build lots of small commits which are not that important.
Those backed up commits were creating a bottleneck in our build process which we able to eliminate with this.
, multiple selections available,
Related content
Main.lua
Main.lua
Read with this
Sending Messages Between Components
Sending Messages Between Components
More like this
IMAP Email Feed
IMAP Email Feed
Read with this
The Activity
The Activity
More like this
Using Notifications
Using Notifications
Read with this
Push Messages to a Component Queue
Push Messages to a Component Queue
More like this