Schedule callback and load a raw cancel handle into event.
Synopses
Declared in <bdlmt_eventscheduler.h>
Schedule callback and load a raw cancel handle into event.
void
scheduleEventRaw(
Event** event,
bsls::TimeInterval const& epochTime,
bsl::function<void()> const& callback);
Schedule callback and load a raw cancel handle into event.
template<
class t_CLOCK,
class t_DURATION>
void
scheduleEventRaw(
Event** event,
bsl::chrono::time_point<t_CLOCK, t_DURATION> const& epochTime,
bsl::function<void()> const& callback);
Parameters
Name |
Description |
event |
receives a raw handle that can cancel the event |
epochTime |
absolute time at which to dispatch the callback |
callback |
function invoked when the event is dispatched |
Created with MrDocs