MCPcopy Create free account
hub / github.com/boostorg/cobalt / wait_op

Method wait_op

example/delay_op.cpp:16–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14{
15 asio::steady_timer & tim;
16 wait_op(asio::steady_timer & tim) : tim(tim) {}
17 void ready(cobalt::handler<system::error_code> h ) override // <2>
18 {
19 if (tim.expiry() < std::chrono::steady_clock::now())

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected