Real-time "getvalue" from M4L devices - in Max

Rodrigo's icon

I'm in the process of refactoring a bunch of my code as M4L devices, so I can more easily reuse them in my own patches (as well as sharing them obviously).

So far so good, but one thing I'm really missing in the transition to M4L devices is being able to get realtime output from the M4L device about its state.

I know I can 'getparams' and then loopback and 'getvalue' individual parameters, but as far as I can tell I would have to poll that.

Is there not a way to have an M4L device spit out its state/values in real-time?

(the main use case of this would be for controller and LED feedback, where I want the feedback from the device decoupled from the controller, so if I turn it on/off on the device, it doesn't break the state of the controller/feedback/LEDs etc...)