Skip to content

Commit 728c7b7

Browse files
committed
Add clarification on RxSwift.Single vs. Combine.Future
1 parent 00ab0bd commit 728c7b7

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

Data/core_components.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ ScheduledDisposable,❌,
1818
SchedulerType,Scheduler,
1919
SerialDisposable,❌,
2020
Signal,❌,
21-
Single,Future,Single behaves differently than Future. Seems the latter has no auto-disposal when finished
21+
Single,Future,"They're only similar in the sense of single emission, but Future shares resources and executes immediately (very strange behavior)"
2222
SubjectType,Subject,
2323
TestScheduler,❌,There doesn't seem to be an existing testing scheduler for Combine code

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ It's based on the following blog post: [https://medium.com/gett-engineering/rxsw
3838
| SchedulerType | Scheduler | |
3939
| SerialDisposable || |
4040
| Signal || |
41-
| Single | Future | Single behaves differently than Future. Seems the latter has no auto-disposal when finished |
41+
| Single | Future | They're only similar in the sense of single emission, but Future shares resources and executes immediately (very strange behavior) |
4242
| SubjectType | Subject | |
4343
| TestScheduler || There doesn't seem to be an existing testing scheduler for Combine code |
4444

Resources/core_components.jpg

6.97 KB
Loading

0 commit comments

Comments
 (0)