Method: Forkit#forked
- Defined in:
- lib/forkit.rb
#forked(threshold = 100000) ⇒ Forkit::Enumerable
We hook into array to be able to easily handle concurrent processing of each blocks.
21 22 23 |
# File 'lib/forkit.rb', line 21 def forked(threshold = 100000) Forkit::Enumerable.new(self, threshold) end |