Optional
stopReason: StopReasonOptional
prepareOptional
stopReason: StopReasonto a prepared value to be passed into the action
function.
Optional
priorityA number representing priority. Higher priority items are run later. High priority implies that some options of this check will have negative impacts if the user subsequently cancels the shutdown.
A descriptive string for the reason preventing close.
Resolves
to
true
if it is safe to close the application;false
otherwise.