We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Store
1 parent 054bd38 commit 6f9ee72Copy full SHA for 6f9ee72
Sources/ComposableArchitecture/Store.swift
@@ -141,6 +141,8 @@ public final class Store<State, Action> {
141
/// - Parameters:
142
/// - initialState: The state to start the application in.
143
/// - 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.
146
public convenience init<R: ReducerProtocol>(
147
initialState: @autoclosure () -> R.State,
148
reducer: R,
0 commit comments