Skip to main content

and6

Function and6 

Source
pub fn and6(
    a: impl Future<Output = bool> + Send,
    b: impl Future<Output = bool> + Send,
    c: impl Future<Output = bool> + Send,
    d: impl Future<Output = bool> + Send,
    e: impl Future<Output = bool> + Send,
    f: impl Future<Output = bool> + Send,
) -> impl Future<Output = bool> + Send
Expand description

Computes the conjunction of six Boolean futures.

All six inputs are polled concurrently. The result is true only when every future resolves to true.