We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 921659b commit e35c8b4Copy full SHA for e35c8b4
1 file changed
src/main/java/com/hosopy/actioncable/Consumer.java
@@ -127,10 +127,19 @@ public void setStaleThresholdInSecond(int staleThresholdInSecond){
127
if(connectionMonitor !=null) connectionMonitor.setStaleThresholdInSecond(staleThresholdInSecond);
128
}
129
130
+ @Deprecated
131
public boolean hasSubscription(String channel) {
132
return subscriptions != null && subscriptions.hasSubscription(channel);
133
134
135
+ public boolean hasChannel(String channel) {
136
+ return subscriptions != null && subscriptions.hasChannel(channel);
137
+ }
138
+
139
+ public boolean hasSubscriptionFor(String identifier) {
140
+ return subscriptions != null && subscriptions.hasSubscriptionOf(identifier);
141
142
143
public Connection getConnection() {
144
return connection;
145
0 commit comments