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

Method __spawn_state

include/stdexec/__detail/__spawn.hpp:84–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82 using __op_t = connect_result_t<_Sender, __spawn_receiver>;
83
84 __spawn_state(_Alloc __alloc, _Sender&& __sndr, _Token __token)
85 : __spawn_state_base(__do_complete)
86 , __alloc_(std::move(__alloc))
87 , __op_(connect(std::move(__sndr), __spawn_receiver(this)))
88 , __assoc_(__token.try_associate())
89 {}
90
91 void __run() noexcept
92 {

Callers

nothing calls this directly

Calls 2

__spawn_receiverClass · 0.70
try_associateMethod · 0.45

Tested by

no test coverage detected