Channel.recv_batch()

Receive up to n payloads in one crossing; a list

Usage

Source

Channel.recv_batch(
    n=256,
    timeout=None,
)

(possibly short or empty), or a terminal sentinel.