Pike v8.0 release 1738

Method Concurrent.Promise()->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

depend(), min_failures(), any_results()