Jul-19-2019, 06:02 AM
Quote:the idea was just to have a read() (i hadn't thought about writing, yet) that has a timeout= option. but that commits the code to waiting for only one input source at a timeThe method
selectors.BaseSelector.select()
has a timeout
parameter. It could be the solution.