반응형
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
- swift6
- Operater
- operator
- nestjs
- Creating Operators
- @Environment
- init?
- dismiss
- @EnvironmentObject
- SWIFT
- @Binding
- subject
- URL(string:)
- Bug
- RxSwift
- @State
- SwiftUI
- graphql
- Xcode
- Operators
- NullObject
- ios14
- nonisolated
- init
- RFC1738/1808
- typeorm
- NavigationLink
- vim
- RxCocoa
- IOS
Archives
- Today
- Total
목록AMB (1)
Tunko Development Diary

amb amb연산자는 두개 이상의 옵저버블 중에 먼저 이벤트가 발생한 것에서만 구독을 합니다. 이후 다른 옵저버에서 Next이벤트가 발생해도 무시됩니다. let disposeBag = DisposeBag() enum TunkoError: Error { case error } let subject1 = PublishSubject() let subject2 = PublishSubject() let subject3 = PublishSubject() Observable.amb([subject1, subject2, subject3]) // subject1.amb(subject2) // 두개의 옵저버블일때 문법 .subscribe { print($0) } .disposed(by: bag) subject1.onNex..
Development/RxSwift
2022. 6. 6. 20:38