Abortable Actions
An abortable action is sent to the server and executed normally unless the component that created the action is invalid before the action is sent to the server.
A non-abortable action is always sent to the server and can't be aborted in the queue.
If an action response returns from the server and the associated component is now invalid, the logic has been executed on the server but the action callback isn’t executed. This is true whether or not the action is marked as abortable.
Marking an Action as Abortable
Mark a server-side action as abortable by using the setAbortable() method on the Action object in JavaScript. For example:
var action = cmp.get("c.serverEcho");
action.setAbortable();