Skip to content
Snippets Groups Projects
Commit a5211798 authored by Dariusz Rybicki's avatar Dariusz Rybicki
Browse files

Remove unused code

parent 0c86ff05
No related branches found
No related tags found
2 merge requests!102Release 1.0.0,!18Update Bindings
//import Bindings
//
//public struct ConnectionMaker {
// public var connect: (Bool, Data, Int) throws -> Connection
//
// public func callAsFunction(
// withAuthentication: Bool,
// recipientContact: Data,
// e2eId: Int
// ) throws -> Connection {
// try connect(withAuthentication, recipientContact, e2eId)
// }
//}
//
//extension ConnectionMaker {
// public static func live(bindingsClient: BindingsCmix) -> ConnectionMaker {
// ConnectionMaker { withAuthentication, recipientContact, e2eId in
// if withAuthentication {
// return Connection.live(
// bindingsAuthenticatedConnection: try bindingsClient.connect(
// withAuthentication: e2eId,
// recipientContact: recipientContact
// )
// )
// } else {
// return Connection.live(
// bindingsConnection: try bindingsClient.connect(
// e2eId,
// recipientContact: recipientContact
// )
// )
// }
// }
// }
//}
//
//#if DEBUG
//extension ConnectionMaker {
// public static let failing = ConnectionMaker { _, _, _ in
// struct NotImplemented: Error {}
// throw NotImplemented()
// }
//}
//#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment