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

Class my_sender

test/exec/test_ensure_started.cpp:347–359  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

345 }
346
347 struct my_sender
348 {
349 using sender_concept = ex::sender_tag;
350 using is_sender = void;
351
352 using completion_signatures = ex::completion_signatures_of_t<decltype(ex::just())>;
353
354 template <class Recv>
355 auto connect(Recv&& recv) const
356 {
357 return ex::connect(ex::just(), std::forward<Recv>(recv));
358 }
359 };
360
361 TEST_CASE("ensure_started accepts a custom sender", "[adaptors][ensure_started]")
362 {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected