summaryrefslogtreecommitdiffhomepage
path: root/ios/Operations/OperationCondition.swift
blob: 881a440d055c46652a7f7589bb90b2029301df4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//
//  OperationCondition.swift
//  Operations
//
//  Created by pronebird on 30/05/2022.
//  Copyright © 2025 Mullvad VPN AB. All rights reserved.
//

import Foundation

public protocol OperationCondition {
    var name: String { get }
    var isMutuallyExclusive: Bool { get }

    func evaluate(for operation: Operation, completion: @escaping (Bool) -> Void)
}