Skip to content

Two broadcast receivers into one #7119

Answered by Darksonn
guenhter asked this question in Q&A
Discussion options

You must be logged in to vote

You could turn both receivers into streams and merge the streams, but that's going to give you a stream type, which is not the same as a broadcast receiver. To obtain a broadcast receiver, you could spawn a background task that receives from both channels and forwards messages to a third broadcast channel.

There isn't any built-in way in the channel itself.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@guenhter
Comment options

Answer selected by guenhter
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