Gio.File.prototype.create_readwrite_finish

function create_readwrite_finish(res: Gio.AsyncResult): Gio.FileIOStream {
    // Gjs wrapper for g_file_create_readwrite_finish()
}
  

Finishes an asynchronous file create operation started with Gio.File.prototype.create_readwrite_async.

Since 2.22

res

a Gio.AsyncResult

Returns

a Gio.FileIOStream or null on error. Free the returned object with GObject.Object.prototype.unref.