SwiftprotocolPredictedContextAlgorithms
ExampleWorkoutPlaceEmitting
protocol PredictedContextAlgorithms.ExampleWorkoutPlaceEmitting
Members 5
- func
method descriptor for emit(candidate: PredictedContextAlgorithms.ExampleWorkoutPlaceCandidate, role: PredictedContextAlgorithms.ExampleWorkoutPlaceRole, metrics: PredictedContextAlgorithms.ExampleWorkoutPlaceMetrics, primaryEvidence: [PredictedContextAlgorithms.Provenanced], secondaryEvidence: [PredictedContextAlgorithms.Provenanced]) async throws -> () - func
method descriptor for emitAnalytics(@Sendable () async throws -> PredictedContextAlgorithms.ExampleWorkoutPlaceMetrics) async throws -> () - func
emitAnalytics(@Sendable () async throws -> PredictedContextAlgorithms.ExampleWorkoutPlaceMetrics) async throws -> () - func
method descriptor for emitError(@Sendable () async throws -> PredictedContextAlgorithms.ExampleWorkoutPlaceError) async throws -> () - func
emitError(@Sendable () async throws -> PredictedContextAlgorithms.ExampleWorkoutPlaceError) async throws -> ()
Header
protocol ExampleWorkoutPlaceEmitting: PredictedContextAlgorithms.Emitting { func emit(candidate: PredictedContextAlgorithms.ExampleWorkoutPlaceCandidate, role: PredictedContextAlgorithms.ExampleWorkoutPlaceRole, metrics: PredictedContextAlgorithms.ExampleWorkoutPlaceMetrics, primaryEvidence: [any PredictedContextAlgorithms.Provenanced], secondaryEvidence: [any PredictedContextAlgorithms.Provenanced]) async throws func emitAnalytics(_: @Sendable () async throws -> PredictedContextAlgorithms.ExampleWorkoutPlaceMetrics) async throws func emitError(_: @Sendable () async throws -> PredictedContextAlgorithms.ExampleWorkoutPlaceError) async throws } extension PredictedContextAlgorithms.ExampleWorkoutPlaceEmitting { func emitAnalytics(_: @Sendable () async throws -> PredictedContextAlgorithms.ExampleWorkoutPlaceMetrics) async throws func emitError(_: @Sendable () async throws -> PredictedContextAlgorithms.ExampleWorkoutPlaceError) async throws }