@TrustThePeople2 @kubukoz We’ll, in the @java ecosystem you could use something like java.util.concurrent.Flow<T>
@TrustThePeople2 @kubukoz @java Those are based on the ReactiveStreams.io interfaces which are more common
@TrustThePeople2 @starbuxman @java It's 8 years old, and is now the third latest LTS (Long Term Support) release, and the 7th most recent major release overall. It's just an ancient release at this point :)
@TrustThePeople2 @starbuxman @java A great example is that the Reactive Streams API was only added to the JDK in version 9. Then you have plenty of language features and runtime improvements, which are important even if you use other languages on the JVM that aren't Java.
@TrustThePeople2 @starbuxman @java It's possible. The API is nothing but an interface for the paradigm (one of many). An implementation that works on Java 8 is Reactive Streams: github.com/reactive-strea… and it has adapters to interoperate with JDK 9 Flow, as far as I can see in the repository.
@kubukoz @TrustThePeople2 @java Indeed, the reactive streams abstraction predates the java 9 Flow library. It inspired it.
@starbuxman @TrustThePeople2 @java I actually thought they shared the interface until now! TIL there's just an adapter :)
@TrustThePeople2 @kubukoz @java Hi - use @ProjectReactor The Reactive Streaks types are interfaces (a spec, like JPA). Projects like Vert.x, RxJava, Akka Streams and @ProjectReactor are implementations (like Hibernate) If you want to do persistence, check out @r2dbc and @SpringData R2BC