일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- supabase edge function deploy error supabaseurl is required
- Firebase authentication apple login 최신
- Supabase edge function
- 소개팅앱 만들기 flutter
- supabase edge function deploy error
- Stomp user connection event
- Android apple login
- Firebase authentication apple login
- Firebase authentication android apple login setting
- no such module '__ObjC'
- Spring boot swagger blank screen
- 소개팅앱 만들기
- Android apple login 인증서 설정
- 주 4일 근무제 경험담
- 소개팅앱 만들기 stomp
- stable-diffusion-webui local 접속
- Android apple login identifier
- Supabase edge function insert data
- stable-diffusion-webui local 네트워크에서 접속
- Spring LocalDateTime response array
- Stomp socket connection event
- invite user for supabase project
- 주 4일 근무제
- Spring google SMTP settings
- 로컬 서버 접속
- Firebase authentication android apple login
- supabase storage public url not working
- supabase storage feature not enabled for this tenant
- DT_TOOLCHAIN_DIR cannot be used
- 주 4일 근무제 log
Archives
- Today
- Total
꿀맛코딩
What is Observable? 본문
Observable 은 Observer (이해를 돕기위해 소비자 개념으로 보자) 에게 소비할 수 있는 값을 발행한다.
순차적으로 접근해 보면 다음과 같다.
1. Observer가 Observable을 Subscribe(구독) 한다.
2. Observable이 아이템들을 내보낸다.
3. Observer가 Observable의 아이템들을 소비한다.
Observable 의 주요 함수
onNext : 모든 아이템들이 하나씩 들어온다.
onComplete : 모든 아이템들이 onNext를 거치고 나면 Observable이 onComplete를 호출한다.
onError : Observable이 에러가 발생하면 onError가 호출되며, onError가 호출 되면 onComplete 는 호출되지 않는다.
반응형
'공부방 > RxKotlin' 카테고리의 다른 글
What is ConnectableObservable? (0) | 2019.07.23 |
---|---|
observable.from and observable.just (0) | 2019.07.23 |
cold observable and hot observable (0) | 2019.07.23 |
Simple Observable (0) | 2019.07.23 |
What is reactive programming? (0) | 2019.07.23 |
Comments