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

Method start

test/exec/test_repeat_until.cpp:55–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53 int counter_;
54
55 void start() & noexcept
56 {
57 if (counter_ == 0)
58 {
59 ex::set_value(static_cast<Receiver&&>(rcvr_), true);
60 }
61 else
62 {
63 ex::set_value(static_cast<Receiver&&>(rcvr_), false);
64 }
65 }
66 };
67
68 template <ex::receiver_of<completion_signatures> Receiver>

Callers

nothing calls this directly

Calls 1

set_valueFunction · 0.85

Tested by

no test coverage detected