@empathyco/x-components
Version:
Empathy X Components
14 lines (8 loc) • 492 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [XPriorityQueue](./x-components.xpriorityqueue.md) > [pop](./x-components.xpriorityqueue.pop.md)
## XPriorityQueue.pop property
Retrieves and removes the head [node](./x-components.xpriorityqueuenode.md) of the queue.
**Signature:**
```typescript
pop: () => XPriorityQueueNode<SomeRecord, SomeData> | undefined;
```