boost::corosio::tcp_server::launcher
Move‐only handle to launch a worker coroutine.
Synopsis
Declared in <boost/corosio/tcp_server.hpp>
class launcher;
Description
Passed to worker_base::run to start the connection‐handling coroutine. The launcher ensures the worker returns to the idle pool when the coroutine completes or if launching fails.
The launcher must be invoked exactly once via operator(). If destroyed without invoking, the worker is returned to the idle pool automatically.
Member Functions
Name |
Description |
|
Constructors |
|
Return the worker to the pool if not launched. |
|
Assignment operators |
Launch the connection‐handling coroutine. |
See Also
worker_base::run
Created with MrDocs