SwiftstructVisualIntelligenceServices
VisualActionExecutable
struct VisualIntelligenceServices.VisualActionExecutable
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSwift.Equatable
- protocolSwift.Hashable
- protocolSwift.Identifiable
Members 7
- field
let actionID: String - field
let extract: @Sendable (VisualIntelligenceServices.ActionResult) -> A? - field
let id: Foundation.UUID - field
let stream: VisualIntelligenceServices.SimpleSaliencyStreamInternal - func
execute() -> AsyncThrowingStream<VisualIntelligenceServices.ExecutionProgress<A>, Error> - func
VisualIntelligenceServices.VisualActionExecutable< where A: CustomStringConvertible>.printProgress(label: String) async throws -> () - typealias
typealias ID = Foundation.UUID
Header
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> }