MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
MayaFlux::Transitive::Protocol::MessageSink Concept Reference

A callable that receives each complete message. More...

#include <Framing.hpp>

Concept definition

template<typename Sink>
concept MayaFlux::Transitive::Protocol::MessageSink = std::invocable<Sink&, Message>
A callable that receives each complete message.
Definition Framing.hpp:18

Detailed Description

A callable that receives each complete message.

It must not push into the framer that is calling it. If it throws, the exception propagates, the rest of that push is discarded and the framer stays valid.

Definition at line 18 of file Framing.hpp.