BloombergLP::bdlmt::EventScheduler::scheduleRecurringEvent

Same as the preceding overload, loading a cancel handle into event.

Synopsis

Declared in <bdlmt_eventscheduler.h>

template<
    class t_CLOCK,
    class t_REP_TYPE,
    class t_PERIOD_TYPE,
    class t_DURATION>
void
scheduleRecurringEvent(
    RecurringEventHandle* event,
    bsl::chrono::duration<t_REP_TYPE, t_PERIOD_TYPE> const& interval,
    bsl::function<void()> const& callback,
    bsl::chrono::time_point<t_CLOCK, t_DURATION> const& startEpochTime = t_CLOCK::now());