MCPcopy Create free account
hub / github.com/NVIDIA/stdexec / operator()

Method operator()

include/exec/execute.hpp:36–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34 template <STDEXEC::scheduler _Scheduler, STDEXEC::__std::move_constructible _Fun>
35 requires STDEXEC::__callable<_Fun&>
36 void operator()(_Scheduler&& __sched, _Fun __fun) const noexcept(false)
37 {
38 auto __domain = STDEXEC::get_domain(__sched);
39 STDEXEC::apply_sender(__domain,
40 *this,
41 STDEXEC::schedule(static_cast<_Scheduler&&>(__sched)),
42 static_cast<_Fun&&>(__fun));
43 }
44
45 template <STDEXEC::sender _Sender, STDEXEC::__std::move_constructible _Fun>
46 requires STDEXEC::__callable<_Fun&>

Callers

nothing calls this directly

Calls 1

scheduleFunction · 0.70

Tested by

no test coverage detected