struct Zap::Utils::Concurrent::Parallel(T)

Defined in:

utils/concurrent/parallel.cr

Constructors

Class Method Summary

Instance Method Summary

Instance methods inherited from class Object

or(other : T) : T | self forall T or, pipe(&) pipe

Constructor Detail

def self.new(iterable : Iterable(U), &block : U -> T) forall U #

[View source]
def self.new(size : Int32, &block : Int32 -> T) #

[View source]

Class Method Detail

def self.parallelize(iterable : Iterable(U), &block : U -> T) forall U #

[View source]
def self.parallelize(size : Int32, &block : Int32 -> T) #

[View source]

Instance Method Detail

def await : Array(T) #

[View source]