BrowserProcessHandlerOnScheduleMessagePumpWork Method |
Version 130.1.90
Called from any thread when work has been scheduled for the browser process
main (UI) thread. This callback is used in combination with CefSettings.
ExternalMessagePump and Cef.DoMessageLoopWork() in cases where the CEF
message loop must be integrated into an existing application message loop
(see additional comments and warnings on Cef.DoMessageLoopWork). This
callback should schedule a Cef.DoMessageLoopWork() call to happen on the
main (UI) thread.
Namespace: CefSharp.HandlerAssembly: CefSharp (in CefSharp.dll) Version: 129.0.110.0 (129.0.110.0)
Syntax protected virtual void OnScheduleMessagePumpWork(
long delay
)
protected:
virtual void OnScheduleMessagePumpWork(
long long delay
)
Parameters
- delay Int64
- is the requested delay in milliseconds. If
delay is less than or equal to 0 then the call should happen reasonably soon. If
delay is greater than 0 then the call should be scheduled to happen after the
specified delay and any currently pending scheduled call should be
cancelled.
See Also