Commit e6a441a
Concurrency Beta (#1189)
* more main actor audit
* wip
* wip
* fix
* better task result ==
* task result tests
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* fix merge conflicts
* wip
* wip
* lots of doc fixes and modernizations
* lots more docs and better hashable conformance for TaskResult
* more docs
* clean up
* more tests and docs
* clean up
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* small clean up
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* explicit
* wip
* fix bug in TestStore.receive
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* fixes
* wip
* tools for non-deterministic TestStore.receive
* fix
* wip
* wip
* remove inAnyOrder stuff
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* convert download case study to use async/await
* animations
* fix tests
* remove executor experiment
* wip
* wip
* wip
* wip
* wip
* speech simplification
* wip
* wip
* wip
* wip
* wip
* wip
* add a few todos
* wrote some tests
* simplify speech recognizer
* fix tests
* update some docs about error throwing behavior
* wip
* wip
* fix
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* Swift 5.5.2 fixes
* wip
* Bump timeout
* wip
* wip
* Finesse
* proper way to detect main queue
* extra guard
* revert main queue check
* move stuff around
* docs
* fixed a bunch of warnings
* Fix references
* clean up
* clean up
* fix a bunch of warnings
* clean up
* un-soft deprecate concatenate
* async teststore.send
* fix uikit tests
* drop sendable
* wip
* wip
* wip
* wip
* wip
* clean up
* clean up
* reorganize, remove extra task cancellation handler
* wip
* wip
* wip
* wip
* wip
* wip
* Make TestStore.send async (#1190)
* async teststore.send
* fix uikit tests
* Converted all tests to async
* clean up
* added docs
* Update Sources/ComposableArchitecture/TestStore.swift
Co-authored-by: Stephen Celis <stephen@stephencelis.com>
* Update Sources/ComposableArchitecture/TestStore.swift
Co-authored-by: Stephen Celis <stephen@stephencelis.com>
* docs and readme update
* Update README.md
* Update Tests/ComposableArchitectureTests/StoreTests.swift
Co-authored-by: Stephen Celis <stephen@stephencelis.com>
* fix
* Update Sources/ComposableArchitecture/TestStore.swift
Co-authored-by: Stephen Celis <stephen@stephencelis.com>
* Update Sources/ComposableArchitecture/TestStore.swift
Co-authored-by: Stephen Celis <stephen@stephencelis.com>
* Update Sources/ComposableArchitecture/TestStore.swift
Co-authored-by: Stephen Celis <stephen@stephencelis.com>
* clean up
Co-authored-by: Stephen Celis <stephen@stephencelis.com>
* wip
* wip
* wip
* make fetchNumber throwing and fix tests
* effect basics clean up
* use local state for isLoading in refreshable case study
* clean up
* fix test
* wip
* wip
* wip
* wip
* wip
* wip
* fixes
* clean up
* clean up
* Simplify
* wip
* clean up
* wip
* AsyncStream.finished()
* give Send a public initializer
* make send public
* temporarily make box public
* remove concurrency flag
* wip
* wip
* wip
* wip
* wip
* docs
* speech
* simplify
* clean up;
* unchecked sendable
* clean up
* clean up
* wip
* docs
* docs
* more docs
* lots of docs
* wip
* wip
* wip
* more docs for streamWithContinuation
* wip
* wip
* wip
* Make internal, too
* wip
* Remove sendability detection
It breaks things, like:
let request = UncheckedSendable(
SKProductsRequest(productIdentifiers: []
)
// UncheckedSendable<NSObject> // *not* _<SKProductsRequest>
* wip
* doc clean up;
* fixed some todos
* docs
* wip
* remove thread safety FAQ from readme
* fix test
* wip
* docs clean up
* docs clean up
* added a testing article and fixed some docs
* rearrange
* docs clean up
* wip
* Update Sources/ComposableArchitecture/Documentation.docc/Articles/Testing.md
Co-authored-by: Thomas Grapperon <35562418+tgrapperon@users.noreply.github.com>
* Update Sources/ComposableArchitecture/Effects/ConcurrencySupport.swift
Co-authored-by: Thomas Grapperon <35562418+tgrapperon@users.noreply.github.com>
* Update Sources/ComposableArchitecture/Effects/ConcurrencySupport.swift
Co-authored-by: Thomas Grapperon <35562418+tgrapperon@users.noreply.github.com>
* Update Sources/ComposableArchitecture/Effects/ConcurrencySupport.swift
Co-authored-by: Thomas Grapperon <35562418+tgrapperon@users.noreply.github.com>
* Update Sources/ComposableArchitecture/Effects/ConcurrencySupport.swift
Co-authored-by: Thomas Grapperon <35562418+tgrapperon@users.noreply.github.com>
* Update Sources/ComposableArchitecture/Documentation.docc/Articles/Testing.md
Co-authored-by: Thomas Grapperon <35562418+tgrapperon@users.noreply.github.com>
* Update Sources/ComposableArchitecture/Documentation.docc/Articles/Testing.md
Co-authored-by: Thomas Grapperon <35562418+tgrapperon@users.noreply.github.com>
* Update Sources/ComposableArchitecture/Documentation.docc/Articles/Testing.md
Co-authored-by: Thomas Grapperon <35562418+tgrapperon@users.noreply.github.com>
* Update Sources/ComposableArchitecture/Documentation.docc/Articles/Testing.md
Co-authored-by: Thomas Grapperon <35562418+tgrapperon@users.noreply.github.com>
* Update Sources/ComposableArchitecture/Documentation.docc/Articles/Testing.md
Co-authored-by: Thomas Grapperon <35562418+tgrapperon@users.noreply.github.com>
* Update Sources/ComposableArchitecture/Documentation.docc/Articles/Testing.md
Co-authored-by: Thomas Grapperon <35562418+tgrapperon@users.noreply.github.com>
* Update Sources/ComposableArchitecture/Documentation.docc/Articles/Testing.md
Co-authored-by: Thomas Grapperon <35562418+tgrapperon@users.noreply.github.com>
* wip
* wip
* wip
Co-authored-by: Stephen Celis <stephen@stephencelis.com>
Co-authored-by: Thomas Grapperon <35562418+tgrapperon@users.noreply.github.com>
(cherry picked from commit 108e3a536fcebb16c4f247ef92c2d7326baf9fe3)
# Conflicts:
# Examples/CaseStudies/SwiftUICaseStudies/00-Core.swift
# Examples/CaseStudies/SwiftUICaseStudies/01-GettingStarted-Animations.swift
# Examples/CaseStudies/SwiftUICaseStudies/02-Effects-Basics.swift
# Examples/CaseStudies/SwiftUICaseStudies/02-Effects-Cancellation.swift
# Examples/CaseStudies/SwiftUICaseStudies/02-Effects-LongLiving.swift
# Examples/CaseStudies/SwiftUICaseStudies/02-Effects-Refreshable.swift
# Examples/CaseStudies/SwiftUICaseStudies/02-Effects-SystemEnvironment.swift
# Examples/CaseStudies/SwiftUICaseStudies/02-Effects-Timers.swift
# Examples/CaseStudies/SwiftUICaseStudies/02-Effects-WebSocket.swift
# Examples/CaseStudies/SwiftUICaseStudies/03-Navigation-Lists-LoadThenNavigate.swift
# Examples/CaseStudies/SwiftUICaseStudies/03-Navigation-Lists-NavigateAndLoad.swift
# Examples/CaseStudies/SwiftUICaseStudies/03-Navigation-LoadThenNavigate.swift
# Examples/CaseStudies/SwiftUICaseStudies/03-Navigation-NavigateAndLoad.swift
# Examples/CaseStudies/SwiftUICaseStudies/03-Navigation-Sheet-LoadThenPresent.swift
# Examples/CaseStudies/SwiftUICaseStudies/03-Navigation-Sheet-PresentAndLoad.swift
# Examples/CaseStudies/SwiftUICaseStudies/04-HigherOrderReducers-ElmLikeSubscriptions.swift
# Examples/CaseStudies/SwiftUICaseStudies/04-HigherOrderReducers-Lifecycle.swift
# Examples/CaseStudies/SwiftUICaseStudies/04-HigherOrderReducers-ResuableOfflineDownloads/DownloadClient.swift
# Examples/CaseStudies/SwiftUICaseStudies/04-HigherOrderReducers-ResuableOfflineDownloads/DownloadComponent.swift
# Examples/CaseStudies/SwiftUICaseStudies/04-HigherOrderReducers-ReusableFavoriting.swift
# Examples/CaseStudies/SwiftUICaseStudies/FactClient.swift
# Examples/CaseStudies/SwiftUICaseStudies/Internal/ResignFirstResponder.swift
# Examples/CaseStudies/SwiftUICaseStudiesTests/01-GettingStarted-AnimationsTests.swift
# Examples/CaseStudies/SwiftUICaseStudiesTests/02-Effects-BasicsTests.swift
# Examples/CaseStudies/SwiftUICaseStudiesTests/02-Effects-CancellationTests.swift
# Examples/CaseStudies/SwiftUICaseStudiesTests/02-Effects-RefreshableTests.swift
# Examples/CaseStudies/SwiftUICaseStudiesTests/02-Effects-TimersTests.swift
# Examples/CaseStudies/SwiftUICaseStudiesTests/02-Effects-WebSocketTests.swift
# Examples/CaseStudies/SwiftUICaseStudiesTests/04-HigherOrderReducers-LifecycleTests.swift
# Examples/CaseStudies/SwiftUICaseStudiesTests/04-HigherOrderReducers-ReusableFavoritingTests.swift
# Examples/CaseStudies/SwiftUICaseStudiesTests/04-HigherOrderReducers-ReusableOfflineDownloadsTests.swift
# Examples/CaseStudies/UIKitCaseStudies/LoadThenNavigate.swift
# Examples/CaseStudies/UIKitCaseStudies/NavigateAndLoad.swift
# Examples/Search/Search/SearchView.swift
# Examples/Search/Search/WeatherClient.swift
# Examples/SpeechRecognition/SpeechRecognition/SpeechClient/Live.swift
# Examples/SpeechRecognition/SpeechRecognition/SpeechRecognition.swift
# Examples/SpeechRecognition/SpeechRecognition/SpeechRecognitionApp.swift
# Examples/SpeechRecognition/SpeechRecognitionTests/SpeechRecognitionTests.swift
# Examples/TicTacToe/App/RootView.swift
# Examples/TicTacToe/tic-tac-toe/Sources/AppCore/AppCore.swift
# Examples/TicTacToe/tic-tac-toe/Sources/AuthenticationClientLive/LiveAuthenticationClient.swift
# Examples/TicTacToe/tic-tac-toe/Sources/LoginCore/LoginCore.swift
# Examples/TicTacToe/tic-tac-toe/Sources/LoginSwiftUI/LoginView.swift
# Examples/TicTacToe/tic-tac-toe/Sources/TwoFactorCore/TwoFactorCore.swift
# Examples/TicTacToe/tic-tac-toe/Sources/TwoFactorSwiftUI/TwoFactorView.swift
# Examples/TicTacToe/tic-tac-toe/Tests/AppCoreTests/AppCoreTests.swift
# Examples/TicTacToe/tic-tac-toe/Tests/LoginCoreTests/LoginCoreTests.swift
# Examples/TicTacToe/tic-tac-toe/Tests/LoginSwiftUITests/LoginSwiftUITests.swift
# Examples/TicTacToe/tic-tac-toe/Tests/TwoFactorCoreTests/TwoFactorCoreTests.swift
# Examples/TicTacToe/tic-tac-toe/Tests/TwoFactorSwiftUITests/TwoFactorSwiftUITests.swift
# Examples/Todos/Todos/Todos.swift
# Examples/Todos/Todos/TodosApp.swift
# Examples/Todos/TodosTests/TodosTests.swift
# Examples/VoiceMemos/VoiceMemos/AudioRecorderClient/LiveAudioRecorderClient.swift
# Examples/VoiceMemos/VoiceMemos/VoiceMemo.swift
# Examples/VoiceMemos/VoiceMemos/VoiceMemos.swift
# Examples/VoiceMemos/VoiceMemos/VoiceMemosApp.swift
# Examples/VoiceMemos/VoiceMemosTests/VoiceMemosTests.swift
# Package.swift
# README.md
# Sources/ComposableArchitecture/Documentation.docc/Articles/GettingStarted.md
# Sources/ComposableArchitecture/Effect.swift
# Sources/ComposableArchitecture/Effects/Animation.swift
# Sources/ComposableArchitecture/Effects/Cancellation.swift
# Sources/ComposableArchitecture/Effects/Concurrency.swift
# Sources/ComposableArchitecture/Effects/Timer.swift
# Sources/ComposableArchitecture/Internal/Create.swift
# Sources/ComposableArchitecture/Internal/Deprecations.swift
# Sources/ComposableArchitecture/Internal/RuntimeWarnings.swift
# Sources/ComposableArchitecture/Reducer.swift
# Sources/ComposableArchitecture/Store.swift
# Sources/ComposableArchitecture/SwiftUI/Alert.swift
# Sources/ComposableArchitecture/SwiftUI/Binding.swift
# Sources/ComposableArchitecture/SwiftUI/ConfirmationDialog.swift
# Sources/ComposableArchitecture/SwiftUI/ForEachStore.swift
# Sources/ComposableArchitecture/SwiftUI/SwitchStore.swift
# Sources/ComposableArchitecture/TestSupport/TestStore.swift
# Sources/ComposableArchitecture/ViewStore.swift
# Tests/ComposableArchitectureTests/ComposableArchitectureTests.swift
# Tests/ComposableArchitectureTests/EffectDebounceTests.swift
# Tests/ComposableArchitectureTests/EffectTests.swift
# Tests/ComposableArchitectureTests/ReducerTests.swift
# Tests/ComposableArchitectureTests/RuntimeWarningTests.swift
# Tests/ComposableArchitectureTests/StoreTests.swift
# Tests/ComposableArchitectureTests/TestStoreFailureTests.swift
# Tests/ComposableArchitectureTests/TestStoreTests.swift
# Tests/ComposableArchitectureTests/TimerTests.swift
# Tests/ComposableArchitectureTests/ViewStoreTests.swift1 parent 71c1c0f commit e6a441a
File tree
158 files changed
+7564
-3719
lines changed- Examples
- CaseStudies
- CaseStudies.xcodeproj
- SwiftUICaseStudiesTests
- SwiftUICaseStudies
- 04-HigherOrderReducers-ResuableOfflineDownloads
- Internal
- UIKitCaseStudiesTests
- UIKitCaseStudies
- Search
- Search.xcodeproj
- SearchTests
- Search
- SpeechRecognition
- SpeechRecognition.xcodeproj
- SpeechRecognitionTests
- SpeechRecognition
- SpeechClient
- TicTacToe
- App
- TicTacToe.xcodeproj
- tic-tac-toe
- Sources
- AppCore
- AuthenticationClientLive
- AuthenticationClient
- GameCore
- GameSwiftUI
- LoginCore
- LoginSwiftUI
- TwoFactorCore
- TwoFactorSwiftUI
- Tests
- AppCoreTests
- GameCoreTests
- GameSwiftUITests
- LoginCoreTests
- LoginSwiftUITests
- NewGameCoreTests
- NewGameSwiftUITests
- TwoFactorCoreTests
- TwoFactorSwiftUITests
- Todos
- Todos.xcodeproj
- TodosTests
- Todos
- VoiceMemos
- VoiceMemos.xcodeproj
- VoiceMemosTests
- VoiceMemos
- AudioPlayerClient
- AudioRecorderClient
- Sources/ComposableArchitecture
- Debugging
- Documentation.docc
- Articles
- Extensions
- Effects
- Internal
- SchedulerExtensions
- SwiftUI
- TestSupport
- Tests/ComposableArchitectureTests
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
158 files changed
+7564
-3719
lines changedLines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
930 | 930 | | |
931 | 931 | | |
932 | 932 | | |
| 933 | + | |
933 | 934 | | |
934 | 935 | | |
935 | 936 | | |
| |||
949 | 950 | | |
950 | 951 | | |
951 | 952 | | |
| 953 | + | |
952 | 954 | | |
953 | 955 | | |
954 | 956 | | |
| |||
1121 | 1123 | | |
1122 | 1124 | | |
1123 | 1125 | | |
| 1126 | + | |
1124 | 1127 | | |
1125 | 1128 | | |
1126 | 1129 | | |
| |||
1139 | 1142 | | |
1140 | 1143 | | |
1141 | 1144 | | |
| 1145 | + | |
1142 | 1146 | | |
1143 | 1147 | | |
1144 | 1148 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
73 | | - | |
| 72 | + | |
| 73 | + | |
74 | 74 | | |
75 | | - | |
76 | | - | |
| 75 | + | |
| 76 | + | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
87 | | - | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
88 | 94 | | |
89 | 95 | | |
90 | 96 | | |
| |||
146 | 152 | | |
147 | 153 | | |
148 | 154 | | |
149 | | - | |
| 155 | + | |
150 | 156 | | |
151 | 157 | | |
152 | 158 | | |
153 | 159 | | |
154 | 160 | | |
155 | | - | |
| 161 | + | |
156 | 162 | | |
157 | 163 | | |
158 | 164 | | |
| |||
188 | 194 | | |
189 | 195 | | |
190 | 196 | | |
191 | | - | |
| 197 | + | |
192 | 198 | | |
193 | 199 | | |
194 | 200 | | |
| |||
243 | 249 | | |
244 | 250 | | |
245 | 251 | | |
246 | | - | |
247 | | - | |
248 | | - | |
| 252 | + | |
249 | 253 | | |
250 | 254 | | |
251 | 255 | | |
| |||
275 | 279 | | |
276 | 280 | | |
277 | 281 | | |
278 | | - | |
279 | | - | |
280 | | - | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
281 | 285 | | |
Lines changed: 8 additions & 25 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | 22 | | |
41 | 23 | | |
42 | 24 | | |
43 | 25 | | |
44 | 26 | | |
45 | 27 | | |
46 | 28 | | |
47 | | - | |
| 29 | + | |
48 | 30 | | |
49 | 31 | | |
50 | 32 | | |
| |||
72 | 54 | | |
73 | 55 | | |
74 | 56 | | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
80 | 63 | | |
81 | 64 | | |
82 | 65 | | |
| |||
Lines changed: 23 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | | - | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| |||
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
| 51 | + | |
| 52 | + | |
50 | 53 | | |
51 | 54 | | |
52 | 55 | | |
53 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
54 | 70 | | |
55 | 71 | | |
56 | 72 | | |
57 | 73 | | |
58 | 74 | | |
59 | | - | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
60 | 78 | | |
61 | 79 | | |
62 | 80 | | |
63 | 81 | | |
64 | 82 | | |
65 | 83 | | |
66 | | - | |
67 | | - | |
68 | | - | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
69 | 87 | | |
70 | 88 | | |
71 | 89 | | |
| |||
Lines changed: 30 additions & 32 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | | - | |
| 21 | + | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
| 28 | + | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | 34 | | |
36 | 35 | | |
37 | 36 | | |
| |||
40 | 39 | | |
41 | 40 | | |
42 | 41 | | |
43 | | - | |
| 42 | + | |
44 | 43 | | |
45 | 44 | | |
46 | 45 | | |
47 | | - | |
48 | | - | |
| 46 | + | |
| 47 | + | |
49 | 48 | | |
50 | 49 | | |
51 | 50 | | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
68 | 67 | | |
69 | 68 | | |
70 | | - | |
71 | | - | |
| 69 | + | |
| 70 | + | |
72 | 71 | | |
73 | 72 | | |
74 | 73 | | |
| |||
91 | 90 | | |
92 | 91 | | |
93 | 92 | | |
94 | | - | |
| 93 | + | |
95 | 94 | | |
96 | 95 | | |
97 | 96 | | |
| |||
101 | 100 | | |
102 | 101 | | |
103 | 102 | | |
104 | | - | |
105 | | - | |
| 103 | + | |
| 104 | + | |
106 | 105 | | |
107 | 106 | | |
108 | | - | |
| 107 | + | |
109 | 108 | | |
110 | 109 | | |
111 | 110 | | |
| |||
134 | 133 | | |
135 | 134 | | |
136 | 135 | | |
137 | | - | |
138 | | - | |
| 136 | + | |
139 | 137 | | |
140 | 138 | | |
141 | 139 | | |
| |||
0 commit comments