|
kokkos-execution 0.0.1
|
#include <sync_wait.hpp>
Public Member Functions | |
| template<stdexec::sender Sndr> | |
| auto | operator() (Sndr &&sndr) const noexcept(false) -> std::optional< stdexec::__sync_wait::__value_tuple_for_t< Sndr > > |
Definition at line 52 of file sync_wait.hpp.
|
inline |
According to https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2024/p2300r10.html#spec-execution.senders.consumers.sync_wait, it has to return an engaged optional (on the value channel).
noexcept specifier depend on the completion signatures of sndr. Definition at line 60 of file sync_wait.hpp.
References Kokkos::Execution::Impl::State::error, and Kokkos::Execution::Impl::State::loop.