File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Sources/SimplexArchitecture Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ struct ActionTransition<Reducer: ReducerProtocol> {
1414 let next : Self . State
1515 /// The associated side effect.
1616 let effect : SideEffect < Reducer >
17- /// The unique effect context that represents parent effect.
17+ /// The unique effect context that represents root effect.
1818 let effectContext : UUID
1919 /// The Action that cause a change of state
2020 let action : CombineAction < Reducer >
@@ -23,7 +23,7 @@ struct ActionTransition<Reducer: ReducerProtocol> {
2323 /// - previous: The previous state.
2424 /// - next: The next state.
2525 /// - effect: The unique effect context that represents parent effect.
26- /// - effectContext: The unique effect context that represents parent effect.
26+ /// - effectContext: The unique effect context that represents root effect.
2727 /// - action: The action responsible for the transition.
2828 init (
2929 previous: Self . State ,
Original file line number Diff line number Diff line change @@ -13,12 +13,14 @@ public struct Send<Reducer: ReducerProtocol>: Sendable {
1313 self . sendReducerAction = sendReducerAction
1414 }
1515
16+ @MainActor
1617 @discardableResult
1718 @inlinable
1819 func callAsFunction( _ action: Reducer . Action ) -> SendTask {
1920 sendAction ( action)
2021 }
2122
23+ @MainActor
2224 @_disfavoredOverload
2325 @discardableResult
2426 @inlinable
You can’t perform that action at this time.
0 commit comments