std1.0.0-beta-7 SafeC docs

std :: async::combinator

Struct std::JoinAll

#include <std/async/combinator.h> source

generic<F: Future, T> struct JoinAll {
    []F futs;
    []T outs;
    unsigned long long done;
}

Polls every future in 'futs' until all are Ready, storing future i's output in outs[i] (futures::future::join_all, without the heap). Output: how many (= futs.len). At most 64 futures.

Fields

§[]F futssource
§[]T outssource
§unsigned long long donesource

bit i: futs[i] finished

Methods

§struct Poll<int> poll(&Context cx)source · definition
§void drop()source · definition