protocol Query<Element> : SendableRepresents a query against the User’s home graph.
-
Undocumented
Declaration
Swift
associatedtype Element : Hashable, Sendable -
Returns a Publisher that emits each object individually. Initial and future state is emitted.
Declaration
Swift
func stream() -> AnyPublisher<HomeObjectUpdate<Element>, HomeError> -
Returns the current result as a Set of objects.
Declaration
Swift
func list() async throws -> Set<Element>