Extensions
The following extensions are available globally.
-
Declaration
Swift
extension StoryApi: ReactiveCompatible
-
StoryApi
의 ReactiveX 확장입니다.아래는 story/profile을 호출하는 간단한 예제입니다.
See moreStoryApi.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: StoryApi