blob: a41102c2655884b055344a7ac6fef8eb40c5f9a4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
//
// OperationProtocol.swift
// MullvadVPN
//
// Created by pronebird on 06/07/2020.
// Copyright © 2020 Mullvad VPN AB. All rights reserved.
//
import Foundation
protocol OperationProtocol: Operation {
/// Add operation observer
func addObserver<T: OperationObserver>(_ observer: T) where T.OperationType == Self
/// Finish operation
func finish()
/// Cancel operation
func cancel()
}
|