diff --git a/Sources/Deprecations.swift b/Sources/Deprecations.swift index 3d41c30..01bcd16 100644 --- a/Sources/Deprecations.swift +++ b/Sources/Deprecations.swift @@ -127,3 +127,11 @@ extension SignalProtocol where Element: Equatable { return distinctUntilChanged() } } + +extension SignalProtocol where Element: Sequence { + + @available(*, deprecated, renamed: "flattenElements") + public func unwrap() -> Signal { + return flattenElements() + } +}