p-queue
p-queue copied to clipboard
Know what is the priority of the current running function
I see in the doc that .sizeBy can return the size of the queue by priority.
How can I get the priority of the function that is currently running?
The purpose of this is handling different UI loading from different running function's priority.