Preparing search index...
The search index is not available
ixfx
ixfx
Collections
Queues
priority
Function priority
priority
<
V
>
(
opts
?
)
:
IPriorityQueueMutable
<
V
>
Creates a
PriorityMutable
queue.
Options:
eq: Equality function
capacity: limit on number of items
discardPolicy: what to do if capacity is reached
Type Parameters
V
Parameters
opts
:
QueueOpts
<
Readonly
<
{
item
:
V
;
priority
:
number
;
}
>
>
= {}
Returns
IPriorityQueueMutable
<
V
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
ixfx
Loading...
Creates a PriorityMutable queue.
Options: