어플리케이션 오류 정의 | RxJS 처리 관점 |
---|---|
1. 입력 데이타 오류 | Observable |
2. 상태 전파 오류 | Observer |
3. 로직 처리 오류 | Functional Programming |
https://rxjs-dev.firebaseapp.com/guide/observable
Observables are lazy Push collections of multiple values. They fill the missing spot in the following table:
SINGLE | MULTIPLE | |
---|---|---|
Pull | Function | Iterator |
Push | Promise | Observable |
PRODUCER | CONSUMER | |
---|---|---|
Pull | Passive: produces data when requested. | Active: decides when data is requested. |
Push | Active: produces data at its own pace. | Passive: reacts to received data. |