Template Struct as_operation¶
Defined in File as_operation.hpp
Struct Documentation¶
-
template<typename
E, typenameR>
structconcore::v1::as_operation¶ Wrapper that transforms an executor and a receiver into an operation.
This is a convenience wrapper to shortcut the usage of scheduler and sender.
- Template Parameters
E: The type of the executor; should model executorR: The type of the receiver
This types models the operation_state concept
Public Types
Public Functions
-
as_operation(executor_type e, receiver_type r) noexcept¶ Constructor.
-
void
start() noexcept¶ Starts the asynchronous operation.