https://github.com/kiquetal/learning-monster-java8
Very slow learning tricks and traps
https://github.com/kiquetal/learning-monster-java8
Last synced: 6 months ago
JSON representation
Very slow learning tricks and traps
- Host: GitHub
- URL: https://github.com/kiquetal/learning-monster-java8
- Owner: kiquetal
- Created: 2017-04-12T22:26:07.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-06-02T20:33:47.000Z (over 8 years ago)
- Last Synced: 2025-02-01T07:20:23.498Z (8 months ago)
- Language: Java
- Size: 25.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
## Glossary
### Subscriber
Its implements both interfaces Observer and Subscription
### Observer
Its the wrapper used by handling the actions when event is raised, wrapper the following method : onNext(T),onError(Throwable),onCompleted()
### Subscription
Allow clients to cancel a subscription by using the `unsubscribe` method.
### Observable
Represent a flowing sequenve of values
We `subscribe` to this Object
Lazy initialization only emit when at least ONE subscriber exists.
#### Types Obervables* Obersable.create(Subscriber)
* Obervable.just(values)
* Observable.from(values)
* Observable.range(from,n)
* Observable.empty()
* Observable.never()
* Observable.error()#### Three types of events
1. Values of Type `T`
2. Completion event
3. Error event## Resources
-Reactive programming with RxJava
-Reactive programming java8 rxjava
[Rx Guidelines](https://github.com/Reactive-Extensions/Rx.NET/blob/master/Rx.NET/Documentation/Rx%20Design%20Guidelines.pdf)