MCPcopy Create free account
hub / github.com/NVIDIA/stdexec / __future_state_base

Method __future_state_base

include/exec/async_scope.hpp:496–502  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

494 struct __future_state_base
495 {
496 constexpr __future_state_base(_Env __env, __impl const * __scope)
497 : __forward_scope_{std::in_place,
498 __scope->__stop_source_.get_token(),
499 __forward_stopped{&__stop_source_}}
500 , __env_(make_env(static_cast<_Env&&>(__env),
501 STDEXEC::prop{get_stop_token, __scope->__stop_source_.get_token()}))
502 {}
503
504 ~__future_state_base()
505 {

Callers

nothing calls this directly

Calls 1

get_tokenMethod · 0.45

Tested by

no test coverage detected