Pike v8.0 release 1738

Method Concurrent.Promise()->first_completed()


Method first_completed

this_program first_completed()

Description

It evaluates to the first future that completes of the list of futures it depends upon.

Returns

The new Promise.

See also

depend(), Concurrent.first_completed()