interface MyInterface {
fun openEventSubscription(): ReceiveChannel<Event>
}
Of course most implementations would delegate the subscription to a
BroadcastChannel
or use
produce
to create a channel.
But, in some edges cases and in tests the implementation may simply want to return an empty channel
Do you think it makes sense ? Should I submit an issue or a PR ?