template<std::size_t Handlers_Count>
class so_5::prepared_receive_t< Handlers_Count >
Special container for holding receive parameters and receive cases.
- Note
- Instances of that type usually used without specifying the actual type:
from(ch).handle_n(10).empty_timeout(10s),
some_handlers... );
...
mchain_receive_params_t< mchain_props::msg_count_status_t::undefined > from(mchain_t chain)
A helper function for simplification of creation of mchain_receive_params instance.
prepared_receive_t< sizeof...(Handlers) > prepare_receive(const mchain_receive_params_t< Msg_Count_Status > ¶ms, Handlers &&... handlers)
Create parameters for receive function to be used later.
mchain_receive_result_t receive(const mchain_receive_params_t< Msg_Count_Status > ¶ms, Handlers &&... handlers)
Advanced version of receive from mchain.
-
This is a moveable type, not copyable.
- Since
- v.5.5.17
Definition at line 1870 of file mchain.hpp.