public interface ShutdownCommencingEvent extends MMEvent
It gives subscribers the opportunity to cancel shutdown (ideally only to ensure that data can be saved or other similarly-critical decisions).
All subscribers must first check if the shutdown has been canceled by
isCanceled(). If the shutdown has been canceled, the
event must be ignored.
The default implementation of this event posts on the Studio event bus,
so subscribe using
|Modifier and Type||Method and Description|
Return whether or not shutdown has been canceled.
@Deprecated boolean getIsCancelled()