Channels are instantiated using the static methods CreateUnbounded<TType>
or CreateBounded<TType>
. The created channel will accept writes and emit reads of TType
.
In my use case I want a channel that writes TType
but emits objects
. It looks like this would be possible, as there is a type Channel<TWrite, TRead>
so essentially I would like a Channel<TWrite, object>
. Is there a way for me to create this instance? See screenshot below