         self.operation = operation
     }
     
-    
     fileprivate func then(_ completion: @escaping (ResultType) -> ()) {
         self.operation() { completion($0) }
     }
-    
     
     public func subscribe(onNext: @escaping (T) -> Void = { _ in }, onError: @escaping (Error) -> Void = { _ in }) {
         self.then { result in

    
    public typealias ResultType = Result<T>
    
    
    private let operation: ( @escaping (ResultType) -> ()) -> ()

    
    public init(_ result: ResultType) {
        self.init { $0(result) }

            }
        }
    }
    
}

