[#BloombergLP-bdlmt-EventScheduler-scheduleRecurringEvent-0287] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlmt.adoc[bdlmt]::xref:BloombergLP/bdlmt/EventScheduler.adoc[EventScheduler]::scheduleRecurringEvent :relfileprefix: ../../../ :mrdocs: Same as the preceding overload, loading a cancel handle into `event`. == Synopsis Declared in `<bdlmt_eventscheduler.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class t_CLOCK, class t_REP_TYPE, class t_PERIOD_TYPE, class t_DURATION> void scheduleRecurringEvent( xref:BloombergLP/bdlmt/EventScheduler/RecurringEventHandle.adoc[RecurringEventHandle]* event, bsl::chrono::duration<t_REP_TYPE, t_PERIOD_TYPE> const& interval, xref:bsl/function-0a.adoc[bsl::function<void()>] const& callback, bsl::chrono::time_point<t_CLOCK, t_DURATION> const& startEpochTime = t_CLOCK::now()); ---- == Parameters [cols="1,4"] |=== | Name| Description | *event* | receives a handle that can cancel the event | *interval* | period between recurring dispatches | *callback* | function invoked when the event is dispatched | *startEpochTime* | absolute time of the first dispatch |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#