         }
     }
     
-    private func ensure(
-        peripheralManagerHasState state: CBManagerState,
-        fn: @escaping (OpperationResult<Void>) -> Void)
-    {
+    private func ensure(peripheralManagerHasState state: CBManagerState, fn: @escaping (OpperationResult<Void>) -> Void) {
         if self.peripheralManager.state == .poweredOn { return fn(.success(result: ()) )}
         
         var attempts = 0

        self.connect(peerWithId: peripheral.identifier)
    }
    
    public final func centralManager(
        _ central: CBCentralManager,
        didFailToConnect peripheral: CBPeripheral,
        error: Error?)
    {
        if let err = error, self.logLevel == .verbose { print(print("\(#function)\n\(err)\n")) }
        
        if let e = error {

                self.connectedPeers.append(peer)
            }
            
            self.centralManager.connect(peripheral, options: nil)
        }
    }
    
