Skip to content

Commit

Permalink
Whitespace.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Jan 3, 2024
1 parent 9805d79 commit d4c34af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/async/scheduler.rb
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ def io_read(io, buffer, length, offset = 0)
if RUBY_ENGINE != "ruby" || RUBY_VERSION >= "3.3.0"
def io_write(io, buffer, length, offset = 0)
fiber = Fiber.current

if timeout = get_timeout(io)
timer = @timers.after(timeout) do
fiber.raise(::IO::TimeoutError, "Timeout while waiting for IO to become writable!")
Expand Down

0 comments on commit d4c34af

Please sign in to comment.