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

For the synchronous, blocking version of this function, see OutputStream.splice.


source InputStream
flags GOutputStreamSpliceFlags
ioPriority int

the io priority of the request.

cancellable Cancellable

optional gio.Cancellable object, NULL to ignore.

callback GAsyncReadyCallback
userData void*

user data passed to callback.