Gio.FileIOStream::query_info_async

function vfunc_query_info_async(attributes: String, io_priority: Number(gint), cancellable: Gio.Cancellable, callback: Gio.AsyncReadyCallback): void {
}
  

Asynchronously queries the stream for a Gio.FileInfo. When completed, callback will be called with a Gio.AsyncResult which can be used to finish the operation with Gio.FileIOStream.prototype.query_info_finish.

For the synchronous version of this function, see Gio.FileIOStream.prototype.query_info.

Since 2.22

attributes

a file attribute query string.

io_priority

the [I/O priority][gio-GIOScheduler] of the request

cancellable

optional Gio.Cancellable object, null to ignore.

callback

callback to call when the request is satisfied