Parallel
Utilities for parallel execution.
Utilities for parallel execution.
Type members
Classlikes
Value members
Concrete methods
Process all elements of the source by the given function then don't wait completion. The result is an iterator which is likely a stream which elements are pushed continuously.
Process all elements of the source by the given function then don't wait completion. The result is an iterator which is likely a stream which elements are pushed continuously.
- Value Params
- f
Function which processes each element of the source collection
- parallelism
Parallelism, the default value is a number of available processors
- source
the source iterator
- Returns
Iterator of the results
Process all elements of the source by the given function then wait for the completion.
Process all elements of the source by the given function then wait for the completion.
- Value Params
- f
Function which processes each element of the source collection
- parallelism
Parallelism, the default value is a number of available processors
- source
Source collection
- Returns
Collection of the results