Sha256: e875a5dd690d842e9af5bce21afdd5c69b68bae5fcf0d04bf3ecc3623102d417
Contents?: true
Size: 166 Bytes
Versions: 15
Compression:
Stored size: 166 Bytes
Contents
module Enumerable # Simple parallel map using Celluloid::Futures def pmap(&block) map { |elem| Celluloid::Future.new(elem, &block) }.map(&:value) end end
Version data entries
15 entries across 15 versions & 1 rubygems