Open levibostian opened 5 years ago
Work on this issue before this to make this issue very easy to do since there will be protocols which will allow us to separate the core and Rx based modules easily.
Inspiration:
TargetType
, that you implement and then provide to Moya via rx extension MoyaProvider.rx.request(targetType).subscribe{}
.
RxSwift is a library some people may not want to use. I also enjoy creating libraries that do not have dependencies on them if I can help it.
Therefore, let's remove RxSwift from the core of the library and make it a separate module that devs can use if they wish.