Skip to content

broadcast #1

@geraldstanje

Description

@geraldstanje

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

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions