Channel.recv()
Receive one payload.
Usage
Channel.recv(timeout=None)Parameters
timeout: float | None = None- Seconds to wait; None waits indefinitely.
Returns
The payload, or theTIMEOUT/CLOSED/PEER_GONE- sentinel on the non-payload outcomes.
Receive one payload.
Usage
timeout: float | None = None The payload, or the TIMEOUT / CLOSED / PEER_GONE