Permalink
Browse files

Merge pull request #54 from wtn/master

README.mk suggestions
  • Loading branch information...
2 parents f84e141 + 9e13480 commit 518e3931c20d82c2251b84eff6e3c45274fdcc91 @igrigorik igrigorik committed Aug 30, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 README.md
View
@@ -56,6 +56,7 @@ Or, you can use FiberIterator to hide the async nature of em-http:
```ruby
require "em-synchrony"
require "em-synchrony/em-http"
+require "em-synchrony/fiber_iterator"
EM.synchrony do
concurrency = 2
@@ -143,7 +144,7 @@ EM.synchrony do
result = EM::Synchrony.sync EventMachine::HttpRequest.new('http://www.gooogle.com/').aget
p result
- # pause exection for 2 seconds
+ # pause execution for 2 seconds
EM::Synchrony.sleep(2)
EM.stop

0 comments on commit 518e393

Please sign in to comment.