SwiftclassCompanionInferenceCore

class CompanionInferenceCore.Connection

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

Members 7

  1. fieldvar didCancel: (() -> ())?
  2. fieldvar isCanceled: Bool
  3. fieldlet keepAliveInterval: UInt16
  4. fieldvar lastTimeUsed: Foundation.Date
  5. fieldlet nwConnection: OS_nw_connection+0x10
  6. fieldvar onNetworkMessageReceived: ((CompanionInferenceCore.NetworkMessage, CompanionInferenceCore.Connecting) async -> ())?
  7. fieldlet queue: OS_dispatch_queue
class Connection {
    let nwConnection: any __C.OS_nw_connection
    var lastTimeUsed: Foundation.Date
    let queue: __C.OS_dispatch_queue
    let keepAliveInterval: Swift.UInt16
    var isCanceled: Swift.Bool
    var onNetworkMessageReceived: ((CompanionInferenceCore.NetworkMessage, any CompanionInferenceCore.Connecting) async -> ())?
    var didCancel: (() -> ())?
}