We're transitioning our app from using embedded IE to CEF and I have a basic architecture question I'd like help understanding. I'll have 2 processes running:
Main Process
Render Process
We need to have our browser call C++ functions. I have that working in my test code. My understanding is that those calls always go to the Render Process (they do in my test code).
I need those C++ functions to get data from our app, which is in the Main Process. I see that CEF has some Inter-process Communication support, and it appears to me that it is entirely asynchronous.
Does that mean that my calls from javascript to C++ will have to be async, with the results coming in a callback, rather than a return value? I get the feeling that's the preferred method, in general, for web development (of which I've done very little), but it feels odd for simple functions doing data access.
Thanks!