[#BloombergLP-bdlmt-EventScheduler-rescheduleEvent-00]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlmt.adoc[bdlmt]::xref:BloombergLP/bdlmt/EventScheduler.adoc[EventScheduler]::rescheduleEvent
:relfileprefix: ../../../
:mrdocs:

Reschedule the event referred to by `handle` to `newEpochTime`&period;

== Synopses

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

Reschedule the event referred to by `handle` to `newEpochTime`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
xref:BloombergLP/bdlmt/EventScheduler/rescheduleEvent-0d.adoc[rescheduleEvent](
    xref:BloombergLP/bdlmt/EventScheduler/Event.adoc[Event] const* handle,
    xref:BloombergLP/bsls/TimeInterval.adoc[bsls::TimeInterval] const& newEpochTime);
----

[.small]#xref:BloombergLP/bdlmt/EventScheduler/rescheduleEvent-0d.adoc[_» more&period;&period;&period;_]#

Reschedule the event referred to by `handle` to `newEpochTime`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class t&lowbar;CLOCK,
    class t&lowbar;DURATION&gt;
int
xref:BloombergLP/bdlmt/EventScheduler/rescheduleEvent-01.adoc[rescheduleEvent](
    xref:BloombergLP/bdlmt/EventScheduler/Event.adoc[Event] const* handle,
    bsl::chrono::time&lowbar;point&lt;t&lowbar;CLOCK, t&lowbar;DURATION&gt; const& newEpochTime);
----

[.small]#xref:BloombergLP/bdlmt/EventScheduler/rescheduleEvent-01.adoc[_» more&period;&period;&period;_]#

== Return Value

0 on successful reschedule, and a non&hyphen;zero value otherwise

== Parameters

[cols="1,4"]
|===
| Name| Description
| *handle*
| event to reschedule
| *newEpochTime*
| new absolute time at which to dispatch the event
|===


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