# SyncQueue

> **Class** in `langgraph`

📖 [View in docs](https://reference.langchain.com/python/langgraph/_internal/_queue/SyncQueue)

Unbounded FIFO queue with a wait() method.
Adapted from pure Python implementation of queue.SimpleQueue.

## Signature

```python
SyncQueue(
    self,
)
```

## Constructors

```python
__init__(
    self,
)
```


## Methods

- [`put()`](https://reference.langchain.com/python/langgraph/_internal/_queue/SyncQueue/put)
- [`get()`](https://reference.langchain.com/python/langgraph/_internal/_queue/SyncQueue/get)
- [`wait()`](https://reference.langchain.com/python/langgraph/_internal/_queue/SyncQueue/wait)
- [`empty()`](https://reference.langchain.com/python/langgraph/_internal/_queue/SyncQueue/empty)
- [`qsize()`](https://reference.langchain.com/python/langgraph/_internal/_queue/SyncQueue/qsize)

---

[View source on GitHub](https://github.com/langchain-ai/langgraph/blob/a529b9bede1f1b6ecada4f0cc0e5c4b83526e563/libs/langgraph/langgraph/_internal/_queue.py#L70)