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

Function basic_deadline_timer

include/boost/asio/basic_deadline_timer.hpp:169–172  ·  view source on GitHub ↗

Constructor. * This constructor creates a timer without setting an expiry time. The * expires_at() or expires_from_now() functions must be called to set an * expiry time before the timer can be waited on. * * @param ex The I/O executor that the timer will use, by default, to * dispatch handlers for any asynchronous operations performed on the timer. */

Source from the content-addressed store, hash-verified

167 * dispatch handlers for any asynchronous operations performed on the timer.
168 */
169 explicit basic_deadline_timer(const executor_type& ex)
170 : impl_(0, ex)
171 {
172 }
173
174 /// Constructor.
175 /**

Callers 1

Calls 3

throw_errorFunction · 0.85
expires_from_nowMethod · 0.80
expires_atMethod · 0.45

Tested by

no test coverage detected