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.
optional GCancellable object, null to ignore
callback to call when the request is satisfied
the data to pass to callback function