Copyright © 2021 by K4.org
  (v.0.48.124)

This Design allows rule author to add support for various 'session events'. This Design is not used by any Baselib Design. To use, create a copy of this in your project directory, or create a new Design which mixes in this one, and customize any of the rules as needed, then mix it into any root Design(s) if they need to handle the various session events.

NOTE: These are not 'Model Rule Events' as described elsewhere. These are rules which are evaluated by the executive process when it has triggered the named actions, and thus allow the rule author to detect when these triggers occur. Note that in the case of the 'end' triggers, there is no subsequent update before the end step.

Index

Rules

onRootClose

onRootClose: Any

This rule is evaluated immediately before the root model is closed OR the session is terminated. The return value is ignored, but can be used by the author for any purpose. There is no way to prevent the closing of the model or session termination.

Flags : Cached (Note this is uncached)

Expression : false

onRootInit

onRootInit: Any

This rule is evaluated immediately after the root model is loaded, before any update has occurred. The return value is ignored, but can be used by the author for any purpose.

Flags : Cached (Note this is uncached)

Expression : false

onSessionClose

onSessionClose: Any

This rule is evaluated immediately before the session is terminated. The return value is ignored, but can be used by the author for any purpose. There is no way to prevent the session termination.

Flags : Cached (Note this is uncached)

Expression : false

onSessionInit

onSessionInit: Any

This rule is evaluated immediately after the root model is loaded, before any update has occurred. The return value is ignored, but can be used by the author for any purpose.

Flags : Cached (Note this is uncached)

Expression : false

onSessionTimeout

onSessionTimeout: Any

This rule is evaluated before the onSessionClose, but only if the reason for closing is a timeout after a certain period of inactivity (default is 2 hours). The return value is ignored, but can be used by the author for any purpose. There is no way to prevent the session termination.

Flags : Cached (Note this is uncached)

Expression : false