-
-
Notifications
You must be signed in to change notification settings - Fork 2
feat(transmit): getAllSubscribersUUIDs #23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(transmit): getAllSubscribersUUIDs #23
Conversation
src/transmit.ts
Outdated
| await this.#bus?.disconnect() | ||
| } | ||
|
|
||
| getAllSubscribersUUIDs(channel: string) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| getAllSubscribersUUIDs(channel: string) { | |
| getSubscribersFor(channel: string) { |
src/transmit.ts
Outdated
| const uuids = Array.from(subscribers).map((subscriber) => subscriber.getUid()) | ||
| return uuids |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| const uuids = Array.from(subscribers).map((subscriber) => subscriber.getUid()) | |
| return uuids | |
| return Array.from(subscribers).map((subscriber) => subscriber.getUid()) |
|
Thanks for the PR! Sorry for the delay, it got lost in my notification 😅 |
|
Oh nice, windows tests seems to work fine again |
Yes, SWC fixed their issue! Could you change a bit the test to create another subscription to another channel to ensure it works as expected? |
|
Thanks! |
Should resolve #21