Global events
Global Events
Functions
function ( memoryrecord, newstate ) | If function is defined it will be called before action* has been performed. |
function ( memoryrecord, newState, succeeded ) | If function is defined it will be called after action*. |
Functions
- function ( memoryrecord, newstate )
-
If function is defined it will be called before action* has been performed.
Active property is about to change to newState.
onMemRecPreExecute
Parameters:
- memoryrecord MemoryRecord
- newstate boolean
- function ( memoryrecord, newState, succeeded )
-
If function is defined it will be called after action*.
Active property was supposed to change to newState.
If 'succeeded' is true it means that Active state has changed and is newState.
newState and succeeded are read only.
*action can be: running auto assembler script (ENABLE or DISABLE section), freezing and unfreezing. onMemRecPostExecute
Parameters:
- memoryrecord MemoryRecord
- newState boolean
- succeeded boolean