flush_async


Description:

[ Version ( since = "0.15" ) ]
public async bool flush_async (Cancellable? cancellable) throws Error

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

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 Channel

cancellable

optional GCancellable object, null to ignore

callback

callback to call when the request is satisfied

user_data

the data to pass to callback function




2022 vala-language.org