Using bpy.msgbus.subscribe_rna

@nacioss how did you tdo to make it persistent at tge end ?
with an handler ? because it seem that neither

there’s a set(‘PERSISTENT’) args within the fuction

#SUBSCRIBE RNA
bpy.msgbus.subscribe_rna(data, owner, args, notify, options=set()
.. function:: subscribe_rna(data, owner, args, notify, options=set())
:arg key: Represents the type of data being subscribed to
   Arguments include
   - :class:`bpy.types.Property` instance.
   - :class:`bpy.types.Struct` type.
   - (:class:`bpy.types.Struct`, str) type and property name.
:type key: Muliple
:arg owner: Handle for this subscription (compared by identity).
:type owner: Any type.
:arg options: Change the behavior of the subscriber.
   - ``PERSISTENT`` when set, the subscriber will be kept when remapping ID data.
:type options: set of str.
Returns a new vector int property definition.

also, how to verify if the msgbus is not active yet before subscribing to rna ? and how do clear an active msg bus ?

didn’t figurate how to use bpy.msgbus.clear_by_owner() as a logical args like the rna bpy.type didn’t work out

for example :
bpy.msgbus.clear_by_owner(bpy.types.ParticleSettings)

there’s so little information about msgbus. it’s quite useful