libycxx

function object

std::execution::spawn_future

Scope
std::execution
cppreference
<execution> nearest page

Synopsis

template<sender Sndr, class Token, class Env = env<>>
  requires scope_token<remove_cvref_t<Token>> && queryable<remove_cvref_t<Env>>
auto spawn_future(Sndr&& sndr, Token&& token, Env&& env = {});