# recv()

Receive one value.

Usage

[Source](https://github.com/shikokuchuo/pymizu/blob/main/python/pymizu/__init__.py#L364-L386)

``` python
recv(timeout=None)
```

## Parameters

`timeout: float | None = None`  
Seconds to wait; None waits indefinitely.

## Returns

`The value, or the TIMEOUT / CLOSED / PEER_GONE`  
sentinel.

## Raises

`ConcurrentUseError`  
Another verb is in flight on this side from a second thread, or a [`recv_async()`](../reference/pymizu.Channel.recv_async.md) consumer is armed and this is not its event-loop thread: a side is confined to one thread and one consumer form at a time.
