Add receive_nowait() to all receive streams
Aperta
design
enhancement
- Lingua principale
- Python
- Stelle
- 2.5k
- Fork
- 260
- Merge medio
- 1g 8h
- PR unite (30g)
- 17
Descrizione
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.
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.