You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This new class acts as an async context manager and an async iterator,
and makes sure no dangling tasks are left behind after a select loop is
done.
This class (as the failed `select()` function) is also designed to
replace the current `Select` implementation with the following
improvements:
* Proper type hinting by using the new helper type guard
`selected_from()`.
* Fixes potential starvation issues.
* Simplifies the interface by providing values one-by-one.
* Guarantees there are no dangling tasks left behind when used as an
async context manager.
Signed-off-by: Leandro Lucarella <[email protected]>
0 commit comments