public interface CefMessageLoopManager
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.CompletableFuture<java.lang.Void> |
startMessageLoop()
Start CEF and execution of the message loop.
|
void |
stopMessageLoop()
Stop execution of the message loop and shutdown CEF.
|
java.util.concurrent.CompletableFuture<java.lang.Void> startMessageLoop()
CefRunMessageLoop
),
details of the message loop execution are implementation specific.CompletableFuture
which completes when CEF has been initialized and
is ready for usage (e.g. creation of browsers).void stopMessageLoop() throws java.lang.InterruptedException
java.lang.InterruptedException
- if the current thread is interrupted whilst
trying to stop execution