Method Concurrent.first_completed()
- Method
first_completed
variantFuturefirst_completed(array(Future)futures)
variantlocalFuturefirst_completed(Future...futures)- Returns
A Future that represents the first of the
futuresthat completes.- Note
The returned Future does NOT have any state (eg backend) propagated from the
futures. This must be done by hand.- See also
race(),
Promise.first_completed()