Reputation: 3728
I am using RxSwift and wondering what is difference between subscribeNext and bindNext?
Thanks for your input.
Upvotes: 6
Views: 1847
Reputation: 3728
bindNext(:) includes error handling. It calls subscribe(:onError:) and throws a fatal error onError (in DEBUG). subscribeNext(_:) only handles onNext and does not throw an error.
Thanks for Scott Gardner from http://as.ync.io/
Upvotes: 13