https://github.com/thespyder/rxjs-examples-java
RxJS examples ported to Java
https://github.com/thespyder/rxjs-examples-java
Last synced: 2 months ago
JSON representation
RxJS examples ported to Java
- Host: GitHub
- URL: https://github.com/thespyder/rxjs-examples-java
- Owner: TheSpyder
- Created: 2012-12-05T09:59:59.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-01-12T05:51:03.000Z (over 12 years ago)
- Last Synced: 2025-03-16T23:22:38.196Z (3 months ago)
- Language: Java
- Size: 250 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
Reactive examples in Java
=========================An attempt to re-create the [RxJS examples](https://github.com/Reactive-Extensions/RxJS-Examples) in Java using the [Reactive4Java library](https://code.google.com/p/reactive4java/).
Strongly recommend IntelliJ 12 to visually fold the bucketload of anonymous classes into Java 8 style closures.
Unfortunately there's quite a few bugs in r4j:
- delay() doesn't actually attach to the source observer
- window() spits out segmented windows of the given size, instead of sliding windows
- subscribe() isn't implemented
- take(0) is broken
- take(...) incorrectly calls finish on the source observable when it finishes
- bufferWithCount() isn't implementedI've fixed these in my local copy, to run these examples apply reactive4java.patch. I will eventually submit the patch to r4j.