Scatter Gather
Scatter gather pattern for generating multiple results in parallel and consolidating them.
Functions
Link copied to clipboard
fun <ELEMENT : Any, RESULT : Any> forkJoin(generators: List<(SupplierActionContext<ELEMENT>) -> ELEMENT>, joinFunction: (TransformationActionContext<ResultList<ELEMENT>, RESULT>) -> RESULT, elementClass: Class<ELEMENT>, resultClass: Class<RESULT>): AgentScopeBuilder<RESULT>