Class: Valkey::Glide::PubSub::SubscriptionState Private
- Inherits:
-
Struct
- Object
- Struct
- Valkey::Glide::PubSub::SubscriptionState
- Defined in:
- lib/valkey/glide/pubsub.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
A connection's subscriptions, as returned by #get_subscriptions. Both
fields are a Hash keyed by :exact, :pattern and :sharded, each
mapping to an Array<String>. desired_subscriptions is what the
client asked for, actual_subscriptions is what the server currently
has. Standalone connections omit :sharded entirely.
Instance Attribute Summary collapse
-
#actual_subscriptions ⇒ Object
Returns the value of attribute actual_subscriptions.
-
#desired_subscriptions ⇒ Object
Returns the value of attribute desired_subscriptions.
Instance Attribute Details
#actual_subscriptions ⇒ Object
Returns the value of attribute actual_subscriptions
69 70 71 |
# File 'lib/valkey/glide/pubsub.rb', line 69 def actual_subscriptions @actual_subscriptions end |
#desired_subscriptions ⇒ Object
Returns the value of attribute desired_subscriptions
69 70 71 |
# File 'lib/valkey/glide/pubsub.rb', line 69 def desired_subscriptions @desired_subscriptions end |