Implement a radical approach to improving abilities of plugins to detect and handle various changes of micro's state: add onAnyEvent callback which is called, literally, after any event. A plugin can use this callback to compare a state after the previous event and after the current event, and thus is able to catch various events that cannot be detected using other callbacks.
This may be a crazy idea, but maybe let's try it.
Some examples of such events that can be detected with onAnyEvent but not with other callbacks:
Implement a radical approach to improving abilities of plugins to detect and handle various changes of micro's state: add
onAnyEvent
callback which is called, literally, after any event. A plugin can use this callback to compare a state after the previous event and after the current event, and thus is able to catch various events that cannot be detected using other callbacks.This may be a crazy idea, but maybe let's try it.
Some examples of such events that can be detected with
onAnyEvent
but not with other callbacks: