amplify icon indicating copy to clipboard operation
amplify copied to clipboard

Def mode to prevent duplicate listeners per topic

Open mig82 opened this issue 5 years ago • 0 comments

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.

mig82 avatar Jun 25 '19 08:06 mig82