FileOutputStream.queryInfoAsync

void queryInfoAsync(string attributes, int ioPriority, gio.cancellable.Cancellable cancellable = null, gio.types.AsyncReadyCallback callback = null)

Asynchronously queries the stream for a #GFileInfo. When completed, callback will be called with a #GAsyncResult which can be used to finish the operation with [gio.file_output_stream.FileOutputStream.queryInfoFinish].

For the synchronous version of this function, see [gio.file_output_stream.FileOutputStream.queryInfo].

Parameters

attributesa file attribute query string.
ioPrioritythe I/O priority of the request
cancellableoptional #GCancellable object, null to ignore.
callbackcallback to call when the request is satisfied