The only line in the project that is "partially covered" is line 37 in priority-queue.ts
:
p-queue/source/priority-queue.ts
Lines 35 to 38 in 0131f7f
This (and the method definition) seem to say that dequeue
may return undefined
, but when dequeue
is actually used this is not the case (because the queue size is checked earlier in that method):
Line 168 in 4b4d2fa
I'm not sure the best way to resolve this so created an issue about it instead. Would dequeue
ever be expected to return undefined
under normal usage? If not, should its result ever be undefined
?
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too