Subscribe a IRecordListener in a module

Hello!

I am looking for a way to notify a script about a creation/edit/deletion of a record in my module. I found the IRecordLister that offers that functionnality. I just cant seem to figure out where to subscribe said listener to.

In AbstractRecordEditPanel, I found this segment :

But context.getPersistenceInterface() only offers a way to notify, not to subscribe to the notification list.

Thank you!

Tyler's question here had my answer. We have to suscribe to the record's META.