Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boostorg/cobalt
/ try_wait_
Method
try_wait_
src/io/system_timer.cpp:45–50 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
43
}
44
45
void system_timer::try_wait_(void * this_, boost::cobalt::handler<system::error_code> h)
46
{
47
if (static_cast<system_timer*>(this_)->timer_.expiry()
48
< std::chrono::system_clock::now())
49
h({});
50
}
51
52
}
Callers
nothing calls this directly
Calls
1
expiry
Method · 0.45
Tested by
no test coverage detected