Wrap the example in a `Sync` block to get deterministic results. Now you don't have to worry if the code gets nested in an existing event loop.
Sync do
results = []
Async do
sleep 10
results << "Hello"
end
puts results
end