Removes a specified action from the action queue.
removeAction( id, onSuccess, onFailure )
This method does not return anything.
Name |
Description |
Type |
Use |
id |
An identifier of an action, assigned when the onSuccess
function is called to confirm that the addAction method completed successfully. |
number |
required |
onSuccess |
A callback function, called after the operation completes, even if the id
is not found and no action is removed. |
function |
required |
onFailure |
A callback function, called when the operation fails. Returns an error code, as
defined in the Constants table in the Client Store article, and an error message. |
function |
required |