Bind_Vs_Subscribe
Bind vs Subscribe
.bind(to: dashboardNavigationContextSubject)
//vs
.subscribe(onNext: { data in
dashboardNavigationContextSubject.onNext(data)
}
rxswift-by-examples-2-observable-and-the-bind
Different ways to do this.
.subscribe(onNext: { authentication.on(.next($0)) })
.bind(to: authentication)
.subscribe(onNext: { auth in
authentication.onNext(auth)
})