std1.0.0-beta-7 SafeC docs

std :: async::combinator

Struct std::MapFut

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

generic<F: Future, T, U> struct MapFut {
    F inner;
    fn U(T) f;
}

'inner''s output passed through f (FutureExt::map). Output: U.

Fields

§F innersource
§fn U(T) fsource

Methods

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