socketry / async

An awesome asynchronous event-driven reactor for Ruby.
MIT License
2.04k stars 85 forks source link

Fix handling of `TimeoutError` in `io_wait`. #274

Closed ioquatix closed 10 months ago

ioquatix commented 10 months ago

TimeoutError was used internally to handle timeouts. However, with the updated design of io-event, this is no longer needed, so let's simplify the design. This also avoids consuming user-raised exceptions of this class.

Fixes https://github.com/socketry/async/pull/266.

Types of Changes

Contribution