streamly icon indicating copy to clipboard operation
streamly copied to clipboard

Make a concurrent pipe using a fold and a stream

Open harendra-kumar opened this issue 1 year ago • 0 comments

Create a fold/scan and a stream sharing a concurrency channel such that if you run the fold the results appear in the stream. We can generalize this to one fold connected to n streams. Config options can be used to have a blocking behavior for the fold if any receiver buffer becomes full or ignore the overflow etc.

harendra-kumar avatar Jul 25 '24 09:07 harendra-kumar