function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Application event force:logout - failed to save Lightning component with handler

(Lightning Experience) When session timeout warning popup appears two events occurs. 
First component event salesforceIdentity:sessionTimedOut and later app event force:logout and component. Both aren't available in Salesforce documentation or Component Library (Summer '18, API 43.0)
Despite of the fact I wanted to handle this with Lightning Component Framework via aura:handler.
<aura:handler event="force:logout" action="{!c.handleAction}"/>
<aura:handler event="salesforceIdentity:sessionTimedOut" action="{!c.handleAction2}" phase="capture" />
If I want to save any handler, then save/deploy results in failing to save component:
Failed to save sample.cmp: An unexpected error occurred. Please include this ErrorId if you contact support: 8989761-99970 (356507915).

I checked this on three instances, and the same result. Do you have any information that such events won't be supported? Do you any ideas how to handle, detect session logout from frontend side?
Being aware that Visualforce.remoting.Manager is not available in LEx.