Pike programming language

Top Concurrent
➤ Concurrent.State Concurrent.first_completed() ➤

Method Concurrent.all()


Method all

local variant Future all(array(Future) futures)
local variant Future all(Future ... futures)

Description

JavaScript Promise API equivalent of results().

Note

The returned Future does NOT have any state (eg backend) propagated from the futures. This must be done by hand.

See also

results(), Promise.depend() https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Promise

Extracted from as of .