Add receive_nowait() to all receive streams
Đang mở
design
enhancement
- Ngôn ngữ chính
- Python
- Star
- 2.5k
- Fork
- 260
- Merge trung bình
- 2 ngày 8 giờ
- Pull request đã merge (30 ngày)
- 19
Mô tả
Occasionally there is a use case where the code would like to receive all the data it can without waiting. The memory object stream has the `receive_nowait()` method for this purpose. I figured this could be easily added to socket streams too.
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.