Extensions

The following extensions are available globally.

  • TalkApi의 ReactiveX 확장입니다.

    아래는 talk/profile을 호출하는 간단한 예제입니다.

    TalkApi.shared.rx.profile()
       .retryWhen(Auth.shared.rx.dynamicAgreement())
       .subscribe(onSuccess:{ (profile) in
           print(profile)
       }, onError: { (error) in
           print(error)
       })
       .disposed(by: <#Your DisposeBag#>)
    
    See more

    Declaration

    Swift

    extension Reactive where Base: TalkApi