Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
154
template <typename T>
155
auto through_post(T& postable) {
156
return [&postable](auto&& work) mutable {
157
asio::post(postable, std::forward<decltype(work)>(work));
158
};
159
}
160
161
void using_strand() {
162
asio::io_context ioc(1);
Callers
1
using_strand
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected