@@ -170,6 +170,12 @@ public struct Effect<Output, Failure: Error>: Publisher {
170170 /// Concatenates a variadic list of effects together into a single effect, which runs the effects
171171 /// one after the other.
172172 ///
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+ ///
173179 /// - Parameter effects: A variadic list of effects.
174180 /// - Returns: A new effect
175181 public static func concatenate( _ effects: Effect ... ) -> Effect {
@@ -179,6 +185,12 @@ public struct Effect<Output, Failure: Error>: Publisher {
179185 /// Concatenates a collection of effects together into a single effect, which runs the effects one
180186 /// after the other.
181187 ///
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+ ///
182194 /// - Parameter effects: A collection of effects.
183195 /// - Returns: A new effect
184196 public static func concatenate< C: Collection > (
0 commit comments