Asynchronously save the document
.
document
must belong to window
. The source object of the async task is document
(which will be
the first parameter of the TaskReadyCallback).
When the operation is finished, callback
will be called. You can then call
commands_save_document_async.end to get the result of the operation.
document |
the Document to save. |
window |
a Window. |
cancellable |
optional Cancellable object, |
callback |
a TaskReadyCallback to call when the operation is finished. |
user_data |
the data to pass to the |