Paratize v2.1.5 Paratize.Base behaviour View Source

Provides the base implementation for parallel_each/3 and parallel_map/3.

To create an implementation, do use Paratize.Base and provide the implementation of parallel_exec/2.

Link to this section Summary

Callbacks

Parallel processing of functions. Returns the list of results in order

Link to this section Callbacks

Link to this callback parallel_exec(arg0, arg1) View Source
parallel_exec([(() -> res)] | [{:atom, (() -> res)}], Paratize.TaskOptions.t) :: [res] when res: var

Parallel processing of functions. Returns the list of results in order.

Args: