How can I write a OnBroadCasting method that only overwrite certain situation and al other situation are handled as 'normal'? In the documenation it is not clear to me how this behavoir works. I would like something like:
function onDataBroadcast(dataSource, action, pks, cached) {
if ((dataSource == '.....' )&& (action == SQL_ACTION_TYPES.UPDATE_ACTION)) {
do something.......
} else {
super() // or some statement that will run de default behavior
}
}