Singletons that implement this interface receive callbacks for structural container events.
If true, the session will be loaded when an event is received and persisted after the event's handlers have executed.
If an event has no handlers, the session will NOT be loaded.
disableSessionLoad() to disable.
List of local subscriptions on this bus.
Disables re-loading & persisting the session when an event with listeners is received.
Get a Promise that resolves then the socket closes.
Set up an interval that fires a
WebSocketHealthCheckEvent on the request bus.
This can be used, e.g., to check if the user is still logged in.
You can control the interval by setting the
config option. Set the option to 0 to disable the interval.