Readme.md in parallel-0.6.3 vs Readme.md in parallel-0.6.4
- old
+ new
@@ -49,10 +49,18 @@
ActiveRecord::Base.connection.reconnect!
user.update_attribute(:some_attribute, some_value)
end
```
+### Break
+
+```Ruby
+Parallel.map(User.all) do |user|
+ raise Parallel::Break # -> stop all execution
+end
+```
+
Processes/Threads are workers, they grab the next piece of work when they finish
### Progress / ETA
```Ruby
@@ -88,9 +96,10 @@
- [Norio Sato]
- [Neal Stewart](https://github.com/n-time)
- [Jurriaan Pruis](http://github.com/jurriaan)
- [Rob Worley](http://github.com/robworley)
- [Tasveer Singh](https://github.com/tazsingh)
+ - [Joachim](https://github.com/jmozmoz)
[Michael Grosser](http://grosser.it)<br/>
michael@grosser.it<br/>
License: MIT<br/>
[![Flattr](http://api.flattr.com/button/flattr-badge-large.png)](https://flattr.com/submit/auto?user_id=grosser&url=https://github.com/grosser/parallel&title=parallel&language=en_GB&tags=github&category=software)