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

Method deliver

example/cpp17/coroutines_ts/chat_server.cpp:110–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108 }
109
110 void deliver(const std::string& msg)
111 {
112 write_msgs_.push_back(msg);
113 timer_.cancel_one();
114 }
115
116private:
117 awaitable<void> reader()

Callers

nothing calls this directly

Calls 1

cancel_oneMethod · 0.45

Tested by

no test coverage detected