spliceAsync

open fun spliceAsync(source: InputStream, flags: OutputStreamSpliceFlags, ioPriority: Int, cancellable: Cancellable? = null, callback: AsyncReadyCallback)

Splices a stream asynchronously. When the operation is finished @callback will be called. You can then call g_output_stream_splice_finish() to get the result of the operation.

For the synchronous, blocking version of this function, see g_output_stream_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.