<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [XPriorityQueue](./x-components.xpriorityqueue.md) &gt; [size](./x-components.xpriorityqueue.size.md)

## XPriorityQueue.size property

Retrieves the number of elements stored in the queue.

**Signature:**

```typescript
size: () => number;
```
