kokkos-execution 0.0.1
Loading...
Searching...
No Matches
Tests::Utils::SinkReceiver Struct Reference

A receiver that can handle all completions and does nothing with them. More...

#include <sink_receiver.hpp>

Public Types

using receiver_concept = stdexec::receiver_t

Public Member Functions

void set_value (auto &&...) noexcept
void set_error (auto &&) noexcept
void set_stopped () noexcept
constexpr auto get_env () const noexcept -> stdexec::env<>

Detailed Description

A receiver that can handle all completions and does nothing with them.

Definition at line 9 of file sink_receiver.hpp.

Member Typedef Documentation

◆ receiver_concept

using Tests::Utils::SinkReceiver::receiver_concept = stdexec::receiver_t

Definition at line 10 of file sink_receiver.hpp.

Member Function Documentation

◆ get_env()

auto Tests::Utils::SinkReceiver::get_env ( ) const->stdexec::env<>
inlinenodiscardconstexprnoexcept

Definition at line 20 of file sink_receiver.hpp.

◆ set_error()

void Tests::Utils::SinkReceiver::set_error ( auto && )
inlinenoexcept

Definition at line 14 of file sink_receiver.hpp.

◆ set_stopped()

void Tests::Utils::SinkReceiver::set_stopped ( )
inlinenoexcept

Definition at line 16 of file sink_receiver.hpp.

◆ set_value()

void Tests::Utils::SinkReceiver::set_value ( auto && ...)
inlinenoexcept

Definition at line 12 of file sink_receiver.hpp.


The documentation for this struct was generated from the following file: