Skip to content
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

Allow for synchronous broadcasts. #50

Open
iwasaki-kenta opened this issue Feb 28, 2019 · 0 comments
Open

Allow for synchronous broadcasts. #50

iwasaki-kenta opened this issue Feb 28, 2019 · 0 comments

Comments

@iwasaki-kenta
Copy link

It looks like all broadcasts so far comprise of wrapping a specified byte slice into an envelope and sending it over the channel *Melody.hub.broadcast.

For performance reasons, I'm looking to minimize the number of allocations by using sync.Pool and need to know when a broadcast has been done synchronously.

Would you be open to a PR for this?

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

No branches or pull requests

2 participants