loadAsync
open fun loadAsync(ioPriority: <Error class: unknown class>, cancellable: <Error class: unknown class>? = null, progressCallback: <Error class: unknown class>?, callback: <Error class: unknown class>?)
Loads asynchronously the file or input stream contents into the class@Buffer.
See the iface@Gio.AsyncResult documentation to know how to use this function.
Parameters
ioPriority
the I/O priority of the request. E.g. %G_PRIORITY_LOW, %G_PRIORITY_DEFAULT or %G_PRIORITY_HIGH.
cancellable
optional #GCancellable object, null to ignore.
progressCallback
function to call back with progress information, or null if progress information is not needed.
callback
a #GAsyncReadyCallback to call when the request is satisfied.