FileSaver.saveAsync
void saveAsync(int ioPriority, gio.cancellable.Cancellable cancellable = null, gio.types.FileProgressCallback progressCallback = null, gio.types.AsyncReadyCallback callback = null)Saves asynchronously the buffer into the file. See the #GAsyncResult documentation to know how to use this function.
Parameters
ioPriority | the I/O priority of the request. E.g. [glib.types.PRIORITY_LOW], [glib.types.PRIORITY_DEFAULT] or [glib.types.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. |