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

Checks if messages can be sent in a blocking manner with a timeout. More...

#include <traits.hpp>

Concept definition

template<typename T>
concept mtcore::thread::SenderBefore = requires(T &t, const std::chrono::time_point<std::chrono::system_clock> &sc) {
{ t.send_before({}, sc) } -> ResultLikeWithVoid;
}
Represents a type that fulfills the "result" contract while having no success value Does NOT check th...
Checks if messages can be sent in a blocking manner with a timeout.

Detailed Description

Checks if messages can be sent in a blocking manner with a timeout.

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