Skip to content

Commit e97ca73

Browse files
eregonioquatix
authored andcommitted
Use the recommended Async instead of Async::Reactor.run
1 parent 047310c commit e97ca73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ end
4545
Here is how you make a request:
4646

4747
```ruby
48-
Async::Reactor.run do
48+
Async do
4949
response = conn.get("/index")
5050
end
5151
```

0 commit comments

Comments
 (0)