These are chat archives for ReactiveX/RxJava
RxJava – Reactive Extensions for the JVM – a library for composing asynchronous and event-based programs using observable sequences for the Java VM.
toSingle, etc.) caused more pain than having 3-4-5 base reactive types. Generally, you'd want to use
Observablefor GUI eventing or less than 1000 element sequences;
Flowablefor interop and millions of elements;
Singlefor exactly one element sources and transformations,
Completablefor async side-effects and
Maybefor optional single values.
Observableto something else.
to(Function<Flowable<T>, R>)and similar in each base type. However, nobody seem to like
Maybenot my idea, Project Reactor has
Monofor that and you can convert between RxJava 2 and Reactor (as both support Reactive-Streams in some types).