Skip to content

Commit 6f9ee72

Browse files
Adds missing documentation for the Store initializer (pointfreeco#1940)
* Add missing `Store` initializer documentation * Update Sources/ComposableArchitecture/Store.swift * Update and rename Store.swift to Store.swift --------- Co-authored-by: Brandon Williams <[email protected]>
1 parent 054bd38 commit 6f9ee72

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Sources/ComposableArchitecture/Store.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,8 @@ public final class Store<State, Action> {
141141
/// - Parameters:
142142
/// - initialState: The state to start the application in.
143143
/// - reducer: The reducer that powers the business logic of the application.
144+
/// - prepareDependencies: A closure that can be used to override dependencies that will be accessed
145+
/// by the reducer.
144146
public convenience init<R: ReducerProtocol>(
145147
initialState: @autoclosure () -> R.State,
146148
reducer: R,

0 commit comments

Comments
 (0)