websocket-client
websocket-client copied to clipboard
ChannelReader
Hello @Marfusios
I am just curious about using and exposing a ChannelReader instead of an Observable to consume received data. I understand the multiple benefits that Rx.NET offers, I only have some questions:
- Have you tried to make the change already?
- I am also curious about the performance impact of that change.
- I suppose it won't have a huge breaking change as you can transform an
IAsyncEnumerableinto anObservable, still providing the same API experience
Thank you.
Also curious if we should add .ConfigureAwait(false) here https://github.com/Marfusios/websocket-client/blob/c002823c828c56a52a3403b41d0f18682f395309/src/Websocket.Client/WebsocketClient.cs#L465