chunk_fold/6 | chunk_fold evaluates apply(Module, Function, [Elem|ExtrArgs]) for every element Elem in JobItemList in parallel with max concurrcy factor equal to Concurrency. |
chunk_fold(FunWork::{Module::module(), Function::atom()}, FunAcc::fun((NewElem::term(), Acc::term()) -> Acc::term()), InitialAcc::term(), ExtraArgs::list(), JoinItemList::list(), Concurrency::non_neg_integer()) -> {ok, FinalAcc::term()} | {error, term()}
chunk_fold evaluates apply(Module, Function, [Elem|ExtrArgs]) for every element Elem in JobItemList in parallel with max concurrcy factor equal to Concurrency. On succesfull evaluation FunAcc function is called with the result of succesfull execution as a first parametr and accumulator as a second parametr.
Generated by EDoc