Gio.OutputStream.prototype.write_finish

function write_finish(result: Gio.AsyncResult): Number(gssize) {
    // Gjs wrapper for g_output_stream_write_finish()
}
  

Finishes a stream write operation.

result

a Gio.AsyncResult.

Returns

a #gssize containing the number of bytes written to the stream.