[#BloombergLP-bdlmt-EventScheduler-scheduleEventRaw-07] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlmt.adoc[bdlmt]::xref:BloombergLP/bdlmt/EventScheduler.adoc[EventScheduler]::scheduleEventRaw :relfileprefix: ../../../ :mrdocs: Schedule `callback` and load a raw cancel handle into `event`. == Synopsis Declared in `<bdlmt_eventscheduler.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class t_CLOCK, class t_DURATION> void scheduleEventRaw( xref:BloombergLP/bdlmt/EventScheduler/Event.adoc[Event]** event, bsl::chrono::time_point<t_CLOCK, t_DURATION> const& epochTime, xref:bsl/function-0a.adoc[bsl::function<void()>] const& callback); ---- == Description Schedule the specified `callback` to be dispatched at the specified `epochTime` truncated to microseconds. Load into the specified `event` pointer a handle that can be used to cancel the event (by invoking `cancelEvent`). The `epochTime` is an absolute time represented as an interval from some epoch, which is determined by the clock associated with the time point. The `event` pointer must be released invoking `releaseEventRaw` when it is no longer needed. == Parameters [cols="1,4"] |=== | Name| Description | *event* | receives a raw handle that can cancel the event | *epochTime* | absolute time at which to dispatch the callback | *callback* | function invoked when the event is dispatched |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#