Package rx

Interface Subscription

    • Method Detail

      • unsubscribe

        void unsubscribe()
        Stops the receipt of notifications on the Subscriber that was registered when this Subscription was received.

        This allows unregistering an Subscriber before it has finished receiving all events (i.e. before onCompleted is called).

      • isUnsubscribed

        boolean isUnsubscribed()
        Indicates whether this Subscription is currently unsubscribed.
        Returns:
        true if this Subscription is currently unsubscribed, false otherwise