//
// CameraView+Focus.swift
// VisionCamera
// Created by Marc Rousavy on 12.10.23.
// Copyright © 2023 mrousavy. All rights reserved.
import AVFoundation
import Foundation
extension CameraView {
func focus(point: CGPoint, promise: Promise) {
withPromise(promise) {
try cameraSession.focus(point: point)
return nil
}