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 gio.iostream.IOStream.spliceFinish to get the result of the operation.

Parameters

stream2 gio.iostream.IOStream

a #GIOStream.

flags gio.types.IOStreamSpliceFlags

a set of #GIOStreamSpliceFlags.

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