Skip to content

Conversation

@MaximeMRF
Copy link
Contributor

Should resolve #21

src/transmit.ts Outdated
await this.#bus?.disconnect()
}

getAllSubscribersUUIDs(channel: string) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
getAllSubscribersUUIDs(channel: string) {
getSubscribersFor(channel: string) {

src/transmit.ts Outdated
Comment on lines 240 to 241
const uuids = Array.from(subscribers).map((subscriber) => subscriber.getUid())
return uuids
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
const uuids = Array.from(subscribers).map((subscriber) => subscriber.getUid())
return uuids
return Array.from(subscribers).map((subscriber) => subscriber.getUid())

@RomainLanz
Copy link
Member

Thanks for the PR!

Sorry for the delay, it got lost in my notification 😅

@MaximeMRF
Copy link
Contributor Author

Oh nice, windows tests seems to work fine again

@RomainLanz
Copy link
Member

RomainLanz commented Jun 23, 2025

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?

@RomainLanz RomainLanz merged commit ccb1e17 into boringnode:0.x Jun 24, 2025
8 checks passed
@RomainLanz
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

A way to get a list of UIDs subscribed to a channel

2 participants