Distributed v0.1.1 Distributed.Parallel View Source
The functions in Distributed.Parallel
are not about scaling processes through all the nodes. They
execute processes asynchronously on the node that uses the functions.
If you want to execute processes through all nodes in parallel, please see Distributed.Replication
module.
Link to this section Summary
Functions
Returns the results of new processes started by the application of fun
on CPU cores.
See https://en.wikipedia.org/wiki/Map_(parallel_pattern)
Link to this section Functions
Link to this function
map(enumerable, fun, opts \\ [])
View Source
map(enumerable :: Enum.enumerable, fun :: (() -> any), opts :: [any]) :: [any]
Returns the results of new processes started by the application of fun
on CPU cores.
See https://en.wikipedia.org/wiki/Map_(parallel_pattern)