Re: java.util.concurrent.Flow with opposite direction of item flow
Alex Otenko via Concurrency-interest <[email protected]>
| Newsgroups | gmane.comp.java.jsr.166-concurrency |
|---|---|
| Message-ID | <CANkgWKhDTfMkM-HzmbkkBF2hkKP8v8po6bjyh4GHWtJwAv6jhA@mail.gmail.com> |
I don't see why one would expect symmetry between consumers and producers. The API you provided a gist for is hard to understand without further explanation of what behaviour is expected from the Producers and Consumers. Alex On Fri, 20 Dec 2019, 13:19 Alexei Kaigorodov via Concurrency-interest, < [email protected]> wrote: > /RxJava and JDK Flow provide such an API./ > This is half true. They provide async interface for reading, but not for > writing. See my reply to Dávid above. > > > > -- > Sent from: http://jsr166-concurrency.10961.n7.nabble.com/ > _______________________________________________ > Concurrency-interest mailing list > [email protected] > http://cs.oswego.edu/mailman/listinfo/concurrency-interest > _______________________________________________ Concurrency-interest mailing list [email protected] http://cs.oswego.edu/mailman/listinfo/concurrency-interest