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
Awesome project! I tried the Async gem but currently it's not supported on Windows due to io-event gem, so i gave this one a try and ran into an error.
Environment:
Windows 10
Ruby 3.1.1p18 (2022-02-18 revision 53f5fc4236) [x64-mingw-ucrt] installed via (RailsInstaller)
Getting an error
<internal:io>:63:in `read_nonblock': Bad file descriptor @ rb_io_set_nonblock - C:/Windows/System32/drivers/etc/hosts (Errno::EBADF)
Reproduction:
require 'fiber_scheduler'
require 'open-uri'
FiberScheduler do
Fiber.schedule { URI.open('http://ip.me') }
Fiber.schedule { URI.open('http://ip.me') }
end
I tried a different scheduler found at the very bottom of this article and it works right away but I'm not sure if it's reliable.
The text was updated successfully, but these errors were encountered:
Awesome project! I tried the Async gem but currently it's not supported on Windows due to io-event gem, so i gave this one a try and ran into an error.
Environment:
Getting an error
Reproduction:
I tried a different scheduler found at the very bottom of this article and it works right away but I'm not sure if it's reliable.
The text was updated successfully, but these errors were encountered: