Reschedule the event referred to by handle to newEpochTime.

Synopses

Declared in <bdlmt_eventscheduler.h>

Reschedule the event referred to by handle to newEpochTime.

int
rescheduleEvent(
    Event const* handle,
    bsls::TimeInterval const& newEpochTime);

Reschedule the event referred to by handle to newEpochTime.

template<
    class t_CLOCK,
    class t_DURATION>
int
rescheduleEvent(
    Event const* handle,
    bsl::chrono::time_point<t_CLOCK, t_DURATION> const& newEpochTime);

Return Value

0 on successful reschedule, and a non‐zero value otherwise

Parameters

Name

Description

handle

event to reschedule

newEpochTime

new absolute time at which to dispatch the event

Created with MrDocs