Skip to content
Snippets Groups Projects
Commit 390d6181 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Concurrent.AggregateState: Added CAVEAT LECTOR.

parent 8e8d8592
No related branches found
No related tags found
No related merge requests found
......@@ -754,7 +754,14 @@ class AggregateState
private Promise promise;
private int(0..) promises;
private int(0..) succeeded, failed;
// CAVEAT LECTOR:
// Before materialize() results contains an array of Futures.
// After it is either set to 0 (if there is a fold_fun),
// or retained with its elements successively replaced by
// their results.
final array(mixed) results;
final int(0..) min_failures;
final int(-1..) max_failures;
final mixed accumulator;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment