Same as the preceding overload, with the specified key.

Synopsis

Declared in <bdlmt_timereventscheduler.h>

int
cancelEvent(
    Handle handle,
    EventKey const& key,
    bool wait = false);

Return Value

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

Parameters

Name

Description

handle

identifier of the event to cancel

key

key uniquely identifying the event

wait

if true, wait until the dispatcher has resumed

Created with MrDocs