Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Bulk sending messages #511

Unanswered
narad-muni asked this question in Q&A
Bulk sending messages #511
May 5, 2025 * 1 comment
Return to top
Discussion options

narad-muni
May 5, 2025

Hello,
Is there a way to send multiple messages on single socket. I want to send them to different events.
I notice that sending tuple or slice will send multiple messages, but they are on same event.

You must be logged in to vote

Replies: 1 comment

Comment options

Totodore
May 5, 2025
Maintainer

No you can't do that, you will need to emit message separately. The emit process is quite efficient though so doing it in a for loop shouldn't be an issue.

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants