Skip to content

Files

Latest commit

 

History

History
23 lines (23 loc) · 1.21 KB

core_components.csv

File metadata and controls

23 lines (23 loc) · 1.21 KB
1
RxSwiftCombineNotes
2
AnyObserverAnySubscriber
3
BehaviorRelaySimple wrapper around BehaviorSubject, could be easily recreated in Combine
4
BehaviorSubjectCurrentValueSubjectThis seems to be the type that holds @State under the hood
5
Completable
6
CompositeDisposable
7
ConnectableObservableTypeConnectablePublisher
8
DisposableCancellable
9
DisposeBagA collection of AnyCancellablesCall anyCancellable.store(in: &collection), where collection can be an array, a set, or any other RangeReplaceableCollection
10
DriverObservableObjectBoth guarantee no failure, but Driver guarantees delivery on Main Thread. In Combine, SwiftUI recreates the entire view hierarachy on the Main Thread, instead.
11
MaybeOptional.Publisher
12
ObservablePublisher
13
ObserverSubscriber
14
PublishRelaySimple wrapper around PublishSubject, could be easily recreated in Combine
15
PublishSubjectPassthroughSubject
16
ReplaySubject
17
ScheduledDisposable
18
SchedulerTypeScheduler
19
SerialDisposable
20
Signal
21
SingleDeferred + FutureFuture has to be wrapped in a Deferred, or its greedy as opposed to Single's laziness
22
SubjectTypeSubject
23
TestSchedulerThere doesn't seem to be an existing testing scheduler for Combine code