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

broadcast #1

Open
geraldstanje opened this issue Nov 26, 2014 · 0 comments
Open

broadcast #1

geraldstanje opened this issue Nov 26, 2014 · 0 comments
Assignees
Labels

Comments

@geraldstanje
Copy link

Hi,

can you select between buffered and unbuffered broadcasting channel?

I would like to send a broadcast message to routine1 and routine2 using a broadcast channel...

go receiveData() {
broadcast <- rcv
}

go routine1() {
msg := <- broadcast
}

go routine2() {
msg := <- broadcast
}

Thanks,
Gerald

@grafov grafov self-assigned this Dec 5, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants