IOStream.spliceAsync

Asynchronously splice the output stream of @stream1 to the input stream of @stream2, and splice the output stream of @stream2 to the input stream of @stream1.

When the operation is finished @callback will be called. You can then call g_io_stream_splice_finish() to get the result of the operation.

Parameters

stream2 IOStream

a #GIOStream.

flags GIOStreamSpliceFlags

a set of #GIOStreamSpliceFlags.

ioPriority int

the io priority of the request.

cancellable Cancellable

optional #GCancellable object, %NULL to ignore.

callback GAsyncReadyCallback

a #GAsyncReadyCallback.

userData void*

user data passed to @callback.

Meta

Since

2.28