class Async::IO
def wrap_blocking_method(new_name, method_name)
def wrap_blocking_method(new_name, method_name) # puts "#{self}\##{$1} -> #{method_name}" define_method(new_name) do |*args| async do @io.__send__(method_name, *args, exception: false) end end end