splice_async


Description:

public virtual async ssize_t splice_async (InputStream source, OutputStreamSpliceFlags flags, int io_priority = DEFAULT, Cancellable? cancellable = null) throws IOError

Splices a stream asynchronously.

When the operation is finished callback will be called. You can then call splice_async.end to get the result of the operation.

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

Parameters:

this

a OutputStream.

source

a InputStream.

flags

a set of OutputStreamSpliceFlags.

io_priority

the io priority of the request.

cancellable

optional Cancellable object, null to ignore.

callback

a TaskReadyCallback.

user_data

user data passed to callback.




2022 vala-language.org