To get all channels: chans = r.pubsub_channels(). To get the number of subscribers to a channel: num = r.pubsub_numsub('channel').
確定! 回上一頁