RxSwift — Subjects
When you diving in RxSwift, you need to overview of Subjects. So what is Subjects?
Subjects act as both an observable and an observer. They can receive events and also be subscribed to. The subject received .next events, and each time it received an event, it turned…