I've found myself in situations where the same listener gets added more than once due to the navigation flows of an application. This causes the subscriptions map to grow without control.
This change allows the developer to change the behaviour so that subscribe can be idempotent. Meaning that adding the same listener more than once to a topic only really adds it the first time.
I've found myself in situations where the same listener gets added more than once due to the navigation flows of an application. This causes the
subscriptions
map to grow without control. This change allows the developer to change the behaviour so thatsubscribe
can be idempotent. Meaning that adding the same listener more than once to a topic only really adds it the first time.