WebKit2.JavascriptResult.prototype.ref

function ref(): WebKit2.JavascriptResult {
    // Gjs wrapper for webkit_javascript_result_ref()
}
  

Atomically increments the reference count of js_result by one. This function is MT-safe and may be called from any thread.

Returns

The passed in WebKit2.JavascriptResult