BloombergLP::bdlmt::EventScheduler::scheduleEventRaw

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);
» more...

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);
» more...

Parameters

NameDescription
eventreceives a raw handle that can cancel the event
epochTimeabsolute time at which to dispatch the callback
callbackfunction invoked when the event is dispatched