@@ -173,32 +173,33 @@ public extension StoreProtocol {
173173}
174174
175175public extension StoreProtocol {
176- func dispatch< S: Sequence > ( serially _: Bool , actions: S ) where S. Element == Action {
177- underlying. dispatch ( actions: actions. map {
178- switch $0 {
179- case let . refined( actions) :
180- return . refined( actions. map ( actionPromotion) )
181- case let . raw( actions) :
182- return . raw( actions)
176+ func dispatch< S: Sequence > ( serially: Bool = false , actions: S ) where S. Element == Action {
177+ underlying. dispatch (
178+ serially: serially,
179+ actions: actions. map {
180+ switch $0 {
181+ case let . refined( actions) :
182+ return . refined( actions. map ( actionPromotion) )
183+ case let . raw( actions) :
184+ return . raw( actions)
185+ }
183186 }
184- } )
187+ )
185188 }
186189
187190 func dispatch( serially: Bool = false , actions: Action ... ) {
188191 dispatch ( serially: serially, actions: actions)
189192 }
190193
191- func dispatch< S: Sequence > ( serially _ : Bool = false , raw actions: S ) where S. Element == RawAction {
192- dispatch ( actions: . raw( . init( actions) ) )
194+ func dispatch< S: Sequence > ( serially: Bool = false , raw actions: S ) where S. Element == RawAction {
195+ dispatch ( serially : serially , actions: . raw( . init( actions) ) )
193196 }
194197
195198 func dispatch( serially: Bool = false , raw actions: RawAction ... ) {
196199 dispatch ( serially: serially, actions: . raw( actions) )
197200 }
198201
199- func dispatch< S: Sequence > ( refined actions: S )
200- where S. Element == SubRefinedAction
201- {
202+ func dispatch< S: Sequence > ( refined actions: S ) where S. Element == SubRefinedAction {
202203 dispatch ( actions: . refined( . init( actions) ) )
203204 }
204205
0 commit comments