Skip to content

Commit c51d9c4

Browse files
tgrapperonp4checo
authored andcommitted
Replace Effect<Action> by Effect<Action, Never> in documentation (#1476)
(cherry picked from commit e4b3cfaf1fa243853a15cbe1fda16843ca10a037) # Conflicts: # Sources/Dependencies/Dependencies/MainQueue.swift # Sources/Dependencies/Dependencies/MainRunLoop.swift
1 parent 34d021a commit c51d9c4

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Sources/Dependencies/Dependencies/MainQueue.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ extension DependencyValues {
2626
///
2727
/// @Dependency(\.mainQueue) var mainQueue
2828
///
29-
/// func reduce(into state: inout State, action: Action) -> Effect<Action> {
29+
/// func reduce(into state: inout State, action: Action) -> Effect<Action, Never> {
3030
/// switch action {
3131
/// case .task:
3232
/// return .run { send in

Sources/Dependencies/Dependencies/RandomNumberGenerator.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ extension DependencyValues {
2626
///
2727
/// @Dependency(\.withRandomNumberGenerator) var withRandomNumberGenerator
2828
///
29-
/// func reduce(into state: inout State, action: Action) -> Effect<Action> {
29+
/// func reduce(into state: inout State, action: Action) -> Effect<Action, Never> {
3030
/// switch action {
3131
/// case .rollDice:
3232
/// self.withRandomNumberGenerator { generator in

Sources/Dependencies/Dependencies/UUID.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ extension DependencyValues {
3030
///
3131
/// @Dependency(\.uuid) var uuid
3232
///
33-
/// func reduce(into state: inout State, action: Action) -> Effect<Action> {
33+
/// func reduce(into state: inout State, action: Action) -> Effect<Action, Never> {
3434
/// switch action {
3535
/// case .create:
3636
/// state.append(Todo(id: self.uuid())

0 commit comments

Comments
 (0)