Do.Halt Class
Defined in:
Module: event-custom-baseyui3/src/event-custom/js/event-do.js:336
Parent Module: event-custom
Return a Halt object when you want to terminate the execution of all subsequent subscribers as well as the wrapped method if it has not exectued yet. Useful for Do.before subscribers.
Constructor
Do.Halt
(
-
msg
-
retVal
Parameters:
-
msg
String(optional) Explanation of why the termination was done
-
retVal
AnyReturn value passed to code that invoked the wrapped function.