Find the event source with @param.depends

In a param.Parameterized class, I have several parameters which are very much alike.

idealy I would want to define a single callback method decorated with param.depends and the list of parameters. But from there there is no wayt to know which object triggered the event, unlike when using .param.watch.

I end up having to make one callback per parameter decorated with param.depends.

I tried adding self.param.watch(self.callback,[ 'param1', 'param2', 'param3']) within the __init__ method, but the event is not inputted in the callback method.
The only way is to define it outside of its definition…

Where can I find the last triggered event within a Parameterized instance?
I have noticed self.param._events, but it’s always an empty list.

The param doc is not very helpful :slight_smile:

Second that, I often have that thought.

I would also be interested in a way to batch watch params. Noticed the param.batch_watch() function, but couldn’t get it to work the way I was expecting.

Does anyone have an example for us?