Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Clarify `task.stop`.
  • Loading branch information
ioquatix committed Feb 19, 2018
1 parent 2a7e629 commit 2cd5c2c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -81,10 +81,10 @@ end
Async::Reactor.run do
task = MyServer.new.run

# ... do other things
# ... do other things, e.g. run specs/tests

# Shut down the server:
task.stop
# Shut down the server manually if required, otherwise it will run indefinitely.
# task.stop
end
```

Expand Down

0 comments on commit 2cd5c2c

Please sign in to comment.