I wonder if there is a method to register a listener on a Behavior so that when it is removed from a Table it can perform some action.
I have a Behavior that creates table associations when it’s added to a table. I would like to register a listener on that behavior so that removing the behavior from table the associations are removed too. I would put all the logic in the Behavior to decouple it from Table.
I didn’t found any event triggered on removing behaviors.