Extensions
The following extensions are available globally.
-
TalkApi
의 ReactiveX 확장입니다.아래는 talk/profile을 호출하는 간단한 예제입니다.
See moreTalkApi.shared.rx.profile() .retryWhen(Auth.shared.rx.dynamicAgreement()) .subscribe(onSuccess:{ (profile) in print(profile) }, onError: { (error) in print(error) }) .disposed(by: <#Your DisposeBag#>)
Declaration
Swift
extension Reactive where Base: TalkApi