SwiftstructVisualIntelligenceServices

struct VisualIntelligenceServices.VisualActionExecutable

Structure

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

inherits{}

Members 7

  1. fieldlet actionID: String
  2. fieldlet extract: @Sendable (VisualIntelligenceServices.ActionResult) -> A?
  3. fieldlet id: Foundation.UUID
  4. fieldlet stream: VisualIntelligenceServices.SimpleSaliencyStreamInternal
  5. funcexecute() -> AsyncThrowingStream<VisualIntelligenceServices.ExecutionProgress<A>, Error>
  6. funcVisualIntelligenceServices.VisualActionExecutable< where A: CustomStringConvertible>.printProgress(label: String) async throws -> ()
  7. typealiastypealias ID = Foundation.UUID
struct VisualActionExecutable<A> where A: Swift.Decodable, A: Swift.Encodable, A: Swift.Equatable {
    let id: Foundation.UUID
    let actionID: Swift.String
    let stream: any VisualIntelligenceServices.SimpleSaliencyStreamInternal
    let extract: @Sendable (_: VisualIntelligenceServices.ActionResult) -> A?

    func execute() -> Swift.AsyncThrowingStream<VisualIntelligenceServices.ExecutionProgress<A>, any Swift.Error>
}