I'm trying to run a really simple test:
require "async"
describe "async" do
it "tests async" do
task = Async do
sleep(100)
end
task.stop
puts "done"
end
end
This should return instantly right? why does the test take 100sec to run? i'm sorry if this is really obvious
im on:
- ruby: 3.3.4
- async: 2.21.1
- io-event: 1.7.4