[#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`&period;

== Synopsis

Declared in `&lt;bdlmt&lowbar;eventscheduler&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class t&lowbar;CLOCK,
    class t&lowbar;REP&lowbar;TYPE,
    class t&lowbar;PERIOD&lowbar;TYPE,
    class t&lowbar;DURATION&gt;
void
scheduleRecurringEvent(
    xref:BloombergLP/bdlmt/EventScheduler/RecurringEventHandle.adoc[RecurringEventHandle]* event,
    bsl::chrono::duration&lt;t&lowbar;REP&lowbar;TYPE, t&lowbar;PERIOD&lowbar;TYPE&gt; const& interval,
    xref:bsl/function-0a.adoc[bsl::function&lt;void()&gt;] const& callback,
    bsl::chrono::time&lowbar;point&lt;t&lowbar;CLOCK, t&lowbar;DURATION&gt; const& startEpochTime = t&lowbar;CLOCK&colon;&colon;now());
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
