You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In an interface, we can declare something like this:
interfaceWhatever {
val input:SendChannel<Input>
val output:ReceiveChannel<Output>
}
Now, I need output to be a BroadcastChannel.
The problem with the interface BroadcastChannel is that it is also a SendChannel.
I would like to give the view the possibility to subscribe to the broadcast, but not to send to or cancel the channel.
I think an interface like this would be very usefull:
In an interface, we can declare something like this:
Now, I need
output
to be aBroadcastChannel
.The problem with the interface
BroadcastChannel
is that it is also aSendChannel
.I would like to give the view the possibility to subscribe to the broadcast, but not to send to or cancel the channel.
I think an interface like this would be very usefull:
The text was updated successfully, but these errors were encountered: