diff --git a/dev/moonpool/Moonpool/Fut/Advanced/index.html b/dev/moonpool/Moonpool/Fut/Advanced/index.html index d340797c..76b3a40a 100644 --- a/dev/moonpool/Moonpool/Fut/Advanced/index.html +++ b/dev/moonpool/Moonpool/Fut/Advanced/index.html @@ -4,4 +4,4 @@ len:('cont -> int) -> aggregate_results:(('a t -> 'a) -> 'cont -> 'res) -> 'cont -> - 'res t
barrier_on_abstract_container_of_futures ~iter ~aggregate_results ~len cont takes a container of futures (cont), with len elements, and returns a future result of type res (possibly another type of container).
This waits for all futures in cont: 'cont to be done (futures obtained via iter <some function> cont). If they all succeed, their results are aggregated into a new result of type 'res via aggregate_results <some function> cont.
NOTE: the behavior is not specified if iter f cont (for a function f) doesn't call f on exactly len cont elements.