add

abstract fun add(subscription: Subscription)

Add a Subscription to this set.

Please note that this SubscriptionSet will not attempt to ensure all subscriptions match their active/inactive state. That is, if you previously called subscribe or unsubscribe on this set, it will not be called on the newly added subscription automatically.

Parameters

subscription

the Subscription to add.