Paratize.Base behaviour
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
.
Callbacks
Specs:
- parallel_exec(List.t, TaskOptions.t) :: term
Parallel processing of functions. Returns the list of result in order.
Args:
- fun_list - list of functions to execute in parallel.
- task_options -
Paratize.TaskOptions