Gio.OutputStream.prototype.splice_finish

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

Finishes an asynchronous stream splice operation.

result

a Gio.AsyncResult.

Returns

a #gssize of the number of bytes spliced. Note that if the number of bytes spliced is greater than %G_MAXSSIZE, then that will be returned, and there is no way to determine the actual number of bytes spliced.