sindresorhus/p-queue

[Feature request] Get number of tasks before one

KaKi87 opened this issue · 0 comments

Hello,

It would be nice to be able to get the number of tasks to complete before one becomes active.

When concurrency = 1 and priority is not used then then the value equals size, otherwise it's more complicated.

Thanks