SwiftclassPredictedContextAlgorithms

class PredictedContextAlgorithms.ExampleWorkoutPlaceChainAdapter

Structure

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

Members 9

  1. deinitdeinit
  2. fieldlet continuation: AsyncThrowingStream<PredictedContextAlgorithms.ExampleWorkoutPlace, Error>.Continuation
  3. fieldvar producer: (() async throws -> ())?+0x10
  4. fieldlet stream: AsyncThrowingStream<PredictedContextAlgorithms.ExampleWorkoutPlace, Error>
  5. funcemit(candidate: PredictedContextAlgorithms.ExampleWorkoutPlaceCandidate, role: PredictedContextAlgorithms.ExampleWorkoutPlaceRole, metrics: PredictedContextAlgorithms.ExampleWorkoutPlaceMetrics, primaryEvidence: [PredictedContextAlgorithms.Provenanced], secondaryEvidence: [PredictedContextAlgorithms.Provenanced]) async throws -> ()
  6. funcfinish() -> ()
  7. funcsetProducer(() async throws -> ()) -> ()
  8. funcworkoutPlaces() async throws -> any AsyncSequence<Self.AsyncSequence.Element == PredictedContextAlgorithms.ExampleWorkoutPlace, Self.AsyncSequence.Failure == Error>
  9. initPredictedContextAlgorithms.ExampleWorkoutPlaceChainAdapter.__allocating_init() -> PredictedContextAlgorithms.ExampleWorkoutPlaceChainAdapter
class ExampleWorkoutPlaceChainAdapter {
    var producer: (() async throws -> ())?
    let continuation: Swift.AsyncThrowingStream<any PredictedContextAlgorithms.ExampleWorkoutPlace, any Swift.Error>.Continuation
    let stream: Swift.AsyncThrowingStream<any PredictedContextAlgorithms.ExampleWorkoutPlace, any Swift.Error>

    init()

    final func setProducer(_: @escaping () async throws -> ())
    final func workoutPlaces() async throws -> any Swift.AsyncSequence
    final func emit(candidate: PredictedContextAlgorithms.ExampleWorkoutPlaceCandidate, role: PredictedContextAlgorithms.ExampleWorkoutPlaceRole, metrics: PredictedContextAlgorithms.ExampleWorkoutPlaceMetrics, primaryEvidence: [any PredictedContextAlgorithms.Provenanced], secondaryEvidence: [any PredictedContextAlgorithms.Provenanced]) async throws
    final func finish()

    deinit
}