WebKit2.WebView.prototype.run_javascript_from_gresource_finish

function run_javascript_from_gresource_finish(result: Gio.AsyncResult): WebKit2.JavascriptResult {
    // Gjs wrapper for webkit_web_view_run_javascript_from_gresource_finish()
}
  

Finish an asynchronous operation started with WebKit2.WebView.prototype.run_javascript_from_gresource.

Check WebKit2.WebView.prototype.run_javascript_finish for a usage example.

result

a Gio.AsyncResult

Returns

a WebKit2.JavascriptResult with the result of the last executed statement in @script or null in case of error