mirror of
https://github.com/maxgoedjen/secretive.git
synced 2026-10-02 12:49:55 +02:00
* Revert "Add launch constraints (#678)"
This reverts commit c5a610d786.
* .
* Cleanup.
15 lines
334 B
Swift
15 lines
334 B
Swift
import Foundation
|
|
|
|
@objc protocol _XPCProtocol: Sendable {
|
|
func process(_ data: Data, with reply: @Sendable @escaping (Data?, Error?) -> Void)
|
|
}
|
|
|
|
public protocol XPCProtocol<Input, Output>: Sendable {
|
|
|
|
associatedtype Input: Codable
|
|
associatedtype Output: Codable
|
|
|
|
func process(_ data: Input) async throws -> Output
|
|
|
|
}
|