Ioredis: getting number of active subscribers

Created on 13 Jun 2017  Â·  4Comments  Â·  Source: luin/ioredis

Hi! I am a bit stuck on getting a number of active subscribers to channel. It should be possible with PUBSUB NUMSUB [channel] but I can't find interface for this in ioredis :(

wontfix

Most helpful comment

This seems to be missing from the typescript interface

All 4 comments

redis.pubsub('NUMSUB', channelName)

Get Outlook for iOShttps://aka.ms/o0ukef


From: Evgeny Bondarenko <[email protected]notifications@github.com>
Sent: Tuesday, June 13, 2017 8:09 PM
Subject: [luin/ioredis] getting number of active subscribers (#483)
To: luin/ioredis <[email protected]ioredis@noreply.github.com>
Cc: Subscribed <[email protected]subscribed@noreply.github.com>

Hi! I am a bit stuck on getting a number of active subscribers to channel. It should be possible withPUBSUB NUMSUB [channel] https://redis.io/commands/pubsub but I can't find interface for this in ioredis :(

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/luin/ioredis/issues/483, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AAmz_suOJjGAyPo2DD6deRrYadX5McHDks5sDnv8gaJpZM4N4ZV7.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 7 days if no further activity occurs, but feel free to re-open a closed issue if needed.

This seems to be missing from the typescript interface

Indeed. I just found this issue.

Was this page helpful?
0 / 5 - 0 ratings