Template Struct operation_state

Struct Documentation

template<typename OpState>
struct operation_state

Concept that defines an operation state.

An object whose type satisfies

operation_state represents the state of an asynchronous operation. It is the result of calling concore::connect() with a sender and a receiver.
Template Parameters
  • OpState: The type that is being checked to see if it’s a operation_state

A compatible type must implement the concore::start() CPO. In addition, any object of this type must be destructible. Only object types model operation states.

See

sender, receiver, connect()