@@ -170,6 +170,12 @@ public struct Effect<Output, Failure: Error>: Publisher {
170
170
/// Concatenates a variadic list of effects together into a single effect, which runs the effects
171
171
/// one after the other.
172
172
///
173
+ /// - Warning: Combine's `Publishers.Concatenate` operator, which this function uses, can leak
174
+ /// when its suffix is a `Publishers.MergeMany` operator, which is used throughout the
175
+ /// Composable Architecture in functions like `Reducer.combine`.
176
+ ///
177
+ /// Feedback filed: <https://gist.github.com/mbrandonw/611c8352e1bd1c22461bd505e320ab58>
178
+ ///
173
179
/// - Parameter effects: A variadic list of effects.
174
180
/// - Returns: A new effect
175
181
public static func concatenate( _ effects: Effect ... ) -> Effect {
@@ -179,6 +185,12 @@ public struct Effect<Output, Failure: Error>: Publisher {
179
185
/// Concatenates a collection of effects together into a single effect, which runs the effects one
180
186
/// after the other.
181
187
///
188
+ /// - Warning: Combine's `Publishers.Concatenate` operator, which this function uses, can leak
189
+ /// when its suffix is a `Publishers.MergeMany` operator, which is used throughout the
190
+ /// Composable Architecture in functions like `Reducer.combine`.
191
+ ///
192
+ /// Feedback filed: <https://gist.github.com/mbrandonw/611c8352e1bd1c22461bd505e320ab58>
193
+ ///
182
194
/// - Parameter effects: A collection of effects.
183
195
/// - Returns: A new effect
184
196
public static func concatenate< C: Collection > (
0 commit comments