Skip to content

Commit c85688e

Browse files
tgrapperonp4checo
authored andcommitted
Rename a few new occurrences of Effect (#1608)
(cherry picked from commit 3b888255f88880c3fed757854a3f1b4d3613c5da) # Conflicts: # Sources/ComposableArchitecture/TestStore.swift # Tests/ComposableArchitectureTests/EffectTests.swift
1 parent 0f7428b commit c85688e

File tree

5 files changed

+224
-224
lines changed

5 files changed

+224
-224
lines changed

Sources/ComposableArchitecture/TestStore.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1895,7 +1895,7 @@ extension TestStore {
18951895
)
18961896

18971897
for effect in self.reducer.inFlightEffects {
1898-
_ = Effect<Never, Never>.cancel(id: effect.id).producer.startWithCompleted {}
1898+
_ = EffectProducer<Never, Never>.cancel(id: effect.id).producer.startWithCompleted {}
18991899
}
19001900
self.reducer.inFlightEffects = []
19011901
}

Sources/swift-composable-architecture-benchmark/Dependencies.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ let dependenciesSuite = BenchmarkSuite(name: "Dependencies") { suite in
2424

2525
private struct BenchmarkReducer: ReducerProtocol {
2626
@Dependency(\.someValue) var someValue
27-
func reduce(into state: inout Int, action: Void) -> Effect<Void, Never> {
27+
func reduce(into state: inout Int, action: Void) -> EffectTask<Void> {
2828
state = self.someValue
2929
return .none
3030
}

0 commit comments

Comments
 (0)