RGtk2 (version 2.20.31)

gOutputStreamFlushAsync: gOutputStreamFlushAsync

Description

Flushes a stream asynchronously. For behaviour details see gOutputStreamFlush.

Usage

gOutputStreamFlushAsync(object, io.priority = 0, cancellable = NULL, callback, user.data = NULL)

Arguments

object
io.priority
the io priority of the request.
cancellable
optional GCancellable object, NULL to ignore.
callback
a GAsyncReadyCallback to call when the request is satisfied
user.data
the data to pass to callback function

Details

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