flush_async


Description:

public virtual async bool flush_async (int io_priority = DEFAULT, Cancellable? cancellable = null) throws Error

Forces an asynchronous write of all user-space buffered data for the given this.

For behaviour details see flush.

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

Parameters:

this

a OutputStream.

io_priority

the io priority of the request.

cancellable

optional Cancellable object, null to ignore.

callback

a TaskReadyCallback to call when the request is satisfied

user_data

the data to pass to callback function




2022 vala-language.org