Cancel previously scheduled timer event
a previously scheduled timer event of the current entity. You can commit the
cancellation by returning it as the output argument when implementing an event action
method, such as
tag — Tag
Tag of the to-be-cancelled timer event.
event — Event
Event for cancelling the specified timer.
Cancel Previously Scheduled Timer Event
Cancel a previously scheduled timer event of the entity in the current event action context.
function [entity,event] = entry(obj,storage,entity,src) % Cancel a previously scheduled timer event of the entity in % current event action context. The event was scheduled with a % custom tag 'timeout'. event = obj.cancelTimer('timeout'); end