diff --git a/Sources/Source.swift b/Sources/Source.swift index 6577ae5..8ac5bd7 100644 --- a/Sources/Source.swift +++ b/Sources/Source.swift @@ -262,6 +262,11 @@ public extension SourceType { public func flatMap(_ transform: @escaping (Value) -> U?) -> Source { return lift { $0.flatMap(transform) } } - + + public func flatMap(_ transform: @escaping (Value) -> Source) -> Source { + return lift { $0.map(transform).joined() } + } + + }