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 action is successfully removed. |
function |
required |
onFailure |
A callback function, called when the removal operation fails. Returns an error code,
as defined in the Constants table in the Client Store article, and an error message. |
function |
required |