[#BloombergLP-bdlmt-TimerEventScheduler-rescheduleEvent-0c]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlmt.adoc[bdlmt]::xref:BloombergLP/bdlmt/TimerEventScheduler.adoc[TimerEventScheduler]::rescheduleEvent
:relfileprefix: ../../../
:mrdocs:

Same as the preceding overload, with the specified `key`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
rescheduleEvent(
    xref:BloombergLP/bdlmt/TimerEventScheduler/Handle.adoc[Handle] handle,
    xref:BloombergLP/bdlmt/TimerEventScheduler/EventKey.adoc[EventKey] const& key,
    xref:BloombergLP/bsls/TimeInterval.adoc[bsls::TimeInterval] const& newTime,
    bool wait = false);
----

== Return Value

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

== Parameters

[cols="1,4"]
|===
| Name| Description
| *handle*
| identifier of the event to reschedule
| *key*
| key uniquely identifying the event
| *newTime*
| new absolute dispatch time
| *wait*
| if true, wait until the event is rescheduled or dispatched
|===


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