OutputStream.spliceAsync

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

source gio.input_stream.InputStream

a #GInputStream.

flags gio.types.OutputStreamSpliceFlags

a set of #GOutputStreamSpliceFlags.

ioPriority int

the io priority of the request.

cancellable gio.cancellable.Cancellable

optional #GCancellable object, null to ignore.

callback gio.types.AsyncReadyCallback

a #GAsyncReadyCallback to call when the request is satisfied