Sealed
Removes all elements from the queue
Optional
condition: (t: T) => booleanWhether an element matching the condition function exists
Sealed
Whether the queue is empty
Removes the first element matching the condition
An optional condition function (defaults to a function that always returns true
)
Whether a removal occurred
Protected
reorderSorts the elements in the queue
A generic speed-based priority queue of
DynamicPhase
s