FileSaver.saveAsync

Saves asynchronously the buffer into the file. See the #GAsyncResult documentation to know how to use this function.

Parameters

ioPriority int
cancellable gio.cancellable.Cancellable

optional #GCancellable object, null to ignore.

progressCallback gio.types.FileProgressCallback

function to call back with progress information, or null if progress information is not needed.

callback gio.types.AsyncReadyCallback

a #GAsyncReadyCallback to call when the request is satisfied.