ForceSyncWithServerCommand.execute(callback) Method

Executes the ForceSyncWithServerCommand command with the specified parameter.

Declaration

execute(
    callback: () => void
): boolean

Parameters

Name Type Description
callback () => void

A callback function that is performed when the server model is updated.

Returns

Type Description
boolean

true if the command has been successfully executed; false if the command execution has failed.

Remarks

Usage example:

richEdit.commands.forceSyncWithServer.execute(function() {});
See Also