OutputStream.spliceAsync

void spliceAsync(gio.input_stream.InputStream source, gio.types.OutputStreamSpliceFlags flags, int ioPriority, gio.cancellable.Cancellable cancellable = null, gio.types.AsyncReadyCallback callback = null)

Splices a stream asynchronously. When the operation is finished callback will be called. You can then call [gio.output_stream.OutputStream.spliceFinish] to get the result of the operation.

For the synchronous, blocking version of this function, see [gio.output_stream.OutputStream.splice].

Parameters

sourcea #GInputStream.
flagsa set of #GOutputStreamSpliceFlags.
ioPrioritythe io priority of the request.
cancellableoptional #GCancellable object, null to ignore.
callbacka #GAsyncReadyCallback to call when the request is satisfied