SwiftactorCompanionSetupKit

actor CompanionSetupKit.CSKStepHelloServer

Structure

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

Members 13

  1. deinitdeinit
  2. fieldvar _eventContinuations: [UInt64 : AsyncStream<CompanionSetupKit.CSKStepHelloServer.Event>.Continuation]
  3. fieldvar _helloContinuation: CheckedContinuation<(), Error>?
  4. fieldlet _logger: os.Logger
  5. fieldvar _tfdepObserverTask: CoreUtilsSwift.CUTask<(), Never>?
  6. fieldlet environment: CoreUtilsSwift.CUEnvironmentValues
  7. funccancel(reason: Error) async -> ()
  8. funccomputeLanguages(timeout: Duration) async -> [String]
  9. funcperform(command: CompanionSetupKit.CSKStepHelloServer.Command) async throws -> ()
  10. funcperform() async throws -> ()
  11. initCompanionSetupKit.CSKStepHelloServer.__allocating_init(environment: CoreUtilsSwift.CUEnvironmentValues) -> CompanionSetupKit.CSKStepHelloServer
  12. typealiastypealias Command = Command
  13. typealiastypealias Event = Event
actor CSKStepHelloServer {
    enum Command {
        enum CodingKeys {
            case helloAnswered
        }
        enum HelloAnsweredCodingKeys {}
        case helloAnswered

        var description: Swift.String {
            get
        }
    }
    enum Event {
        case present(languages: [Swift.String])

        var description: Swift.String {
            get
        }
    }
    let environment: CoreUtilsSwift.CUEnvironmentValues
    let _logger: os.Logger
    var _eventContinuations: [Swift.UInt64 : Swift.AsyncStream<CompanionSetupKit.CSKStepHelloServer.Event>.Continuation]
    var _helloContinuation: Swift.CheckedContinuation<(), any Swift.Error>?
    var _tfdepObserverTask: CoreUtilsSwift.CUTask<(), Swift.Never>?

    init(environment: CoreUtilsSwift.CUEnvironmentValues)

    func computeLanguages(timeout: Swift.Duration) async -> [Swift.String]
    func cancel(reason: any Swift.Error) async
    func perform(command: CompanionSetupKit.CSKStepHelloServer.Command) async throws
    func perform() async throws

    deinit
}