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
source | a #GInputStream. |
flags | a set of #GOutputStreamSpliceFlags. |
ioPriority | the io priority of the request. |
cancellable | optional #GCancellable object, null to ignore. |
callback | a #GAsyncReadyCallback to call when the request is satisfied |