SwiftprotocolJetCore

protocol JetCore.XPCSessionProtocol

Members 3

  1. funcmethod descriptor for cancel(reason: String) -> ()
  2. funcmethod descriptor for send<A, B where A1: Encodable, B1: Decodable>(_: A1, replyHandler: @Sendable (Result<B1, Error>) -> ()) throws -> ()
  3. funcmethod descriptor for send<A where A1: Encodable>(A1) throws -> ()
protocol XPCSessionProtocol {
    func send<A1, B1>(_: A1, replyHandler: @escaping @Sendable (_: Swift.Result<B1, any Swift.Error>) -> ()) throws where A1: Swift.Encodable, B1: Swift.Decodable
    func send<A1>(_: A1) throws where A1: Swift.Encodable
    func cancel(reason: Swift.String)
}