Skip to content
Snippets Groups Projects
Select Git revision
  • 28d8f45a60d7887f7346066c3ba5ef2ebe155f7e
  • main default protected
  • development
  • integration
  • v1.1.5
  • v1.1.4
  • v1.1.3
  • v1.1.2
  • v1.1.1
  • v1.1.0
  • v1.0.0
11 results

MessageSender.swift

Blame
  • CmixIsHealthy.swift 443 B
    import Bindings
    import XCTestDynamicOverlay
    
    public struct CmixIsHealthy {
      public var run: () -> Bool
    
      public func callAsFunction() -> Bool {
        run()
      }
    }
    
    extension CmixIsHealthy {
      public static func live(_ bindingsCmix: BindingsCmix) -> CmixIsHealthy {
        CmixIsHealthy(run: bindingsCmix.isHealthy)
      }
    }
    
    extension CmixIsHealthy {
      public static let unimplemented = CmixIsHealthy(
        run: XCTUnimplemented("\(Self.self)")
      )
    }