title: Invoke async method from JS in CefSharp
body: <p>How can I invoke an .NET async method from JS in CefSharp.
  I'd like to invoke a method that waits for a console application call.</p>
  
  <p>My idea is the following:
  I invoke a method with the signature below:</p>
  
  <pre><code>public async Task&lt;int&gt; Calculate(){
  </code></pre>
  
  <p>and when it's finished then its result is given back by a promise on the JS side.
  Currently, it doesn't work. When it's finished there is no callback and then I'm not able to invoke it again.</p>
  
  <p>Thank you</p>