Is the method call from JavaScript to C# in CefSharp single-threaded? #4802
-
Front-end code for calling the browser method:
Browser method:
Why, when making multiple calls to asyncZBrowser.execute simultaneously on the front-end Vue page, do the requests come in sequentially, and the thread IDs printed out for multiple requests are the same? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
By default method calls are processed sequentially. You can switch to concurrent execution (on the thread pool) by setting the following before you create CefSharpSettings.ConcurrentTaskExecution = true; |
Beta Was this translation helpful? Give feedback.
By default method calls are processed sequentially. You can switch to concurrent execution (on the thread pool) by setting the following before you create
ChromiumWebBrowser
instances.