반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 |
Tags
- @State
- Operators
- RxSwift
- swift6
- IOS
- typeorm
- Xcode
- vim
- SWIFT
- operator
- @Environment
- nonisolated
- URL(string:)
- subject
- NullObject
- @Binding
- ios14
- init
- graphql
- RFC1738/1808
- init?
- Bug
- nestjs
- Operater
- Creating Operators
- SwiftUI
- NavigationLink
- dismiss
- @EnvironmentObject
- RxCocoa
Archives
- Today
- Total
목록error (1)
Tunko Development Diary

retry retry연산자는 옵저버블에서 에러가 발생하면 현재 시퀀스를 중단하고 다시 새로운 구독을 시작합니다. 새롭게 구독하는것이므로 기존에 있던 next이벤트들은 소멸되고 다시 시작합니다. retry 연산자 함수 원형 public func retry() -> Observable { CatchSequence(sources: InfiniteSequence(repeatedValue: self.asObservable())) } public func retry(_ maxAttemptCount: Int) -> Observable { CatchSequence(sources: Swift.repeatElement(self.asObservable(), count: maxAttemptCount)) } 함수 원형을 보시면..
Development/RxSwift
2022. 6. 10. 13:42