MCPcopy Create free account
hub / github.com/boostorg/asio / actor

Method actor

example/cpp11/executors/actor.cpp:109–112  ·  view source on GitHub ↗

Construct the actor to use the specified executor for all message handlers.

Source from the content-addressed store, hash-verified

107protected:
108 // Construct the actor to use the specified executor for all message handlers.
109 actor(any_io_executor e)
110 : executor_(std::move(e))
111 {
112 }
113
114 // Register a handler for a specific message type. Duplicates are permitted.
115 template <class Actor, class Message>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected