MCPcopy Create free account
hub / github.com/Naios/continuable / through_post

Function through_post

examples/example-asio/example-asio-integration.cpp:155–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153
154template <typename T>
155auto through_post(T& postable) {
156 return [&postable](auto&& work) mutable {
157 asio::post(postable, std::forward<decltype(work)>(work));
158 };
159}
160
161void using_strand() {
162 asio::io_context ioc(1);

Callers 1

using_strandFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected