You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Binding V8 javascript to C++ functions in Cef works in single process mode.
When in multi-process, all V8 handler code runs in the render process, separate from the main thread.
Note: some scratch code has been done to use Cef Inter Process Communication (IPC), and we can all c++ functions from javascript, though, we cannot halt the render thread to wait for a response variable.
The issue comes down to synchronous communication with C++. In order to get a return value, the render thread must wait for a response. The documented suggested alternative is to use Asynchronous, but this would all no return values with javascript functions. Return values is what we would like to achieve.
Async later ;)
The text was updated successfully, but these errors were encountered:
Binding V8 javascript to C++ functions in Cef works in single process mode.
When in multi-process, all V8 handler code runs in the render process, separate from the main thread.
Note: some scratch code has been done to use Cef Inter Process Communication (IPC), and we can all c++ functions from javascript, though, we cannot halt the render thread to wait for a response variable.
The issue comes down to synchronous communication with C++. In order to get a return value, the render thread must wait for a response. The documented suggested alternative is to use Asynchronous, but this would all no return values with javascript functions. Return values is what we would like to achieve.
Async later ;)
The text was updated successfully, but these errors were encountered: