Recommended
PDF
Storytelling For The Web: Integrate Storytelling in your Design Process
PDF
2024 Trend Updates: What Really Works In SEO & Content Marketing
PDF
PDF
Flutter 에서 Native(iOS, Android) 코드와 통신하기
PDF
Communication between Flutter and native modules Baby Step
PDF
PPTX
Travis-ci를 이용한 CI/CD와 도커를 이용한 Jenkins for Android 구성하기
PPT
PDF
Artificial Intelligence, Data and Competition – SCHREPEL – June 2024 OECD dis...
PDF
How to Leverage AI to Boost Employee Wellness - Lydia Di Francesco - SocialHR...
PDF
2024 State of Marketing Report – by Hubspot
PDF
Everything You Need To Know About ChatGPT
PDF
Product Design Trends in 2024 | Teenage Engineerings
PDF
How Race, Age and Gender Shape Attitudes Towards Mental Health
PDF
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
PDF
PDF
PEPSICO Presentation to CAGNY Conference Feb 2024
PDF
Content Methodology: A Best Practices Report (Webinar)
PPTX
How to Prepare For a Successful Job Search for 2024
PDF
Social Media Marketing Trends 2024 // The Global Indie Insights
PDF
Trends In Paid Search: Navigating The Digital Landscape In 2024
PDF
5 Public speaking tips from TED - Visualized summary
PDF
ChatGPT and the Future of Work - Clark Boyd
PDF
Getting into the tech field. what next
PDF
Google's Just Not That Into You: Understanding Core Updates & Search Intent
PDF
How to have difficult conversations
PDF
Introduction to Data Science
PDF
Time Management & Productivity - Best Practices
More Related Content
PDF
Storytelling For The Web: Integrate Storytelling in your Design Process
PDF
2024 Trend Updates: What Really Works In SEO & Content Marketing
PDF
PDF
Flutter 에서 Native(iOS, Android) 코드와 통신하기
PDF
Communication between Flutter and native modules Baby Step
PDF
PPTX
Travis-ci를 이용한 CI/CD와 도커를 이용한 Jenkins for Android 구성하기
PPT
Featured
PDF
Artificial Intelligence, Data and Competition – SCHREPEL – June 2024 OECD dis...
PDF
How to Leverage AI to Boost Employee Wellness - Lydia Di Francesco - SocialHR...
PDF
2024 State of Marketing Report – by Hubspot
PDF
Everything You Need To Know About ChatGPT
PDF
Product Design Trends in 2024 | Teenage Engineerings
PDF
How Race, Age and Gender Shape Attitudes Towards Mental Health
PDF
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
PDF
PDF
PEPSICO Presentation to CAGNY Conference Feb 2024
PDF
Content Methodology: A Best Practices Report (Webinar)
PPTX
How to Prepare For a Successful Job Search for 2024
PDF
Social Media Marketing Trends 2024 // The Global Indie Insights
PDF
Trends In Paid Search: Navigating The Digital Landscape In 2024
PDF
5 Public speaking tips from TED - Visualized summary
PDF
ChatGPT and the Future of Work - Clark Boyd
PDF
Getting into the tech field. what next
PDF
Google's Just Not That Into You: Understanding Core Updates & Search Intent
PDF
How to have difficult conversations
PDF
Introduction to Data Science
PDF
Time Management & Productivity - Best Practices
Subject in RxJava 1. 2. 3. What’s the Subject?
A Subject is a sort of bridge or proxy that acts both as a
Subscriber and as an Observable. Because it is a Subscriber,
it can subscribe to one or more Observables, and because it
is an Observable, it can pass through the items it observes
by reemitting them, and it can also emit new items.
Subject = Observable + Subscriber
Observable 과 Subscriber 연결하는 다리같은 역할
4. 5. 6. 8. 9. 10. 11. 12. 참고자료
• http://goo.gl/ztz2as
• http://reactivex.io/documentation/subject.html
• http://www.introtorx.com/Content/v1.0.10621.0/02_KeyTypes.html#AsyncSubject
• http://www.introtorx.com/Content/v1.0.10621.0/02_KeyTypes.html#BehaviorSubject
• http://reactivex.io/RxJava/javadoc/rx/subjects/BehaviorSubject.html
• http://www.introtorx.com/Content/v1.0.10621.0/02_KeyTypes.html#ReplaySubject
• https://tech.instacart.com/how-to-think-about-subjects-part-1/
Editor's Notes #4
Subject는 Subscriber과 Observable 두가지 모두를 하는 객체
Subject는 Observer처럼 Observable을 구독할 수 있고 Obserable처럼 새로운 아이템을 발행하거나
전달받은 아이템을 바이패스할 수 있다.
확실한건 Observable에 된다는것은 Observer나 여타 Subject가 자신을 구독 할 수 있다는 점이다.
#8 PublishSubject와 비슷하지만 구독전에 한건이라도 이벤트가 발생하면 구독 시점에 해당 이벤트도 같이 전달 받습니다.
* Observer가 관찰하는 순간 가장 최근의 값을 발행해야하므로 초기값이 필요합니다.
사용자가 다운로드 받는 중에 몇 %를 다운 받았는지 보고 싶다.
이런경우에는 behaviorSubject를 통해서 마지막에 받았던것을 백업해주는 용도로 사용되어 질 수 있다.