Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想列出与具有活动订阅者的订阅密钥关联的所有频道。有没有办法用pubnub做到这一点?如果这有什么不同,我正在使用 JavaScript API。
返回与订阅键相关联的频道列表,其中存在订阅者。
PUBNUB.where_now( { uuid : 'optional-uuid' }, function(data) { console.log(data); } );
发帖时请注意,where_now()仅在+3.6SDK 版本中可用。
where_now()
+3.6