hpx/execution/algorithms/future_sender.hpp#

Defined in header hpx/execution/algorithms/future_sender.hpp.

See Public API for a list of names and headers that are part of the public HPX API.

Implementation details for adapting HPX futures as P2300 senders.

Usage:

hpx::future<int> f = hpx::async([]{ return 42; });
auto result = hpx::execution::experimental::as_sender(std::move(f))
    | hpx::execution::experimental::then([](int x){ return x * 2; })
    | hpx::execution::experimental::sync_wait();

namespace hpx
namespace execution
namespace experimental