MT Core (C++)
Core library for replacing C++ standard in project usage
Loading...
Searching...
No Matches
mtcore::thread::ReceiverBlock Concept Reference

Checks if messages can be received in a blocking manner. More...

#include <traits.hpp>

Concept definition

template<typename T>
concept mtcore::thread::ReceiverBlock = requires(T &t) {
{ t.receive_block() } -> std::same_as<Optional<typename T::Message>>;
}
Checks if messages can be received in a blocking manner.

Detailed Description

Checks if messages can be received in a blocking manner.

Definition at line 87 of file thread/mtcore_thread/traits.hpp.