Method Concurrent.AggregatedPromise()->max_failures()
- Method
max_failures
this_program
max_failures(int(-1..)
max
)- Parameter
max
Specifies the maximum number of failures to be accepted in the list of futures this promise depends upon.
-1
means unlimited.Defaults to
0
.- Returns
The new Promise.
- See also