interop-reactive-streams icon indicating copy to clipboard operation
interop-reactive-streams copied to clipboard

Add Pipeline conversions and rewrite internals with channels

Open mschuwalow opened this issue 1 year ago • 2 comments

Reason to go this way is that for pipeline to work correctly, we need to ensure that the Publisher and the Subscriber run concurrently on different fibers. Imo this is easiest / cleanest by relying on the AsynInput abstractions baked into the channelexecutor.

resolves #364

mschuwalow avatar Oct 11 '23 19:10 mschuwalow

Bumping this, as it would really help to implement WebSocket support for tapir-netty-zio, where we use netty-reactive-streams underneath and need a Processor[Req, Resp] created out of a ZPipeline. Any chance to push this a little bit forward, @runtologist?

kciesielski avatar Mar 27 '24 12:03 kciesielski

This PR also makes cancellations of streams work better, previously cancellations only seemed to complete the stream if read after closing the stream.

dispalt avatar May 02 '24 18:05 dispalt