SwiftactorSiriSuggestionsAPI

actor SiriSuggestionsAPI.LocalStateStoreClient

Structure

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

Members 12

  1. deinitdeinit
  2. fieldvar $defaultActor: Builtin.DefaultActorStorage+0x10
  3. fieldvar cache: [SiriSuggestionsAPI.InteractionIdentifierType : [SiriSuggestionsAPI.InteractionIdentifier : SiriSuggestionsAPI.StoreCache]]+0x70
  4. fieldlet cacheClearedListener: @Sendable ([SiriSuggestionsAPI.InteractionIdentifierType : [SiriSuggestionsAPI.InteractionIdentifier : SiriSuggestionsAPI.StoreCache]]) async -> ()+0xa0
  5. fieldlet delegate: SiriSuggestionsAPI.SiriSuggestionsClient+0x78
  6. funcflush(for: String) async throws -> ()
  7. funcgetNextSuggestions(requestId: String) async -> SiriSuggestionsKit.SiriSuggestions.SuggestionList
  8. funcgetNextSuggestions(for: String, relatedIds: Set<SiriSuggestionsAPI.InteractionIdentifier>, extraStateStoreProperties: [String : Decodable & Encodable & Sendable]?) async -> SiriSuggestionsKit.SiriSuggestions.SuggestionList
  9. funcsubmitAsync(for: SiriSuggestionsAPI.InteractionIdentifier, propertyKey: String, propertyValue: Decodable & Encodable & Sendable) async throws -> ()
  10. initSiriSuggestionsAPI.LocalStateStoreClient.__allocating_init(client: SiriSuggestionsAPI.SiriSuggestionsClient, cacheClearedListener: @Sendable ([SiriSuggestionsAPI.InteractionIdentifierType : [SiriSuggestionsAPI.InteractionIdentifier : SiriSuggestionsAPI.StoreCache]]) async -> ()) -> SiriSuggestionsAPI.LocalStateStoreClient
  11. initSiriSuggestionsAPI.LocalStateStoreClient.__allocating_init(client: SiriSuggestionsAPI.SiriSuggestionsClient) -> SiriSuggestionsAPI.LocalStateStoreClient
  12. varvar unownedExecutor: UnownedSerialExecutor { get }
actor LocalStateStoreClient {
    var cache: [SiriSuggestionsAPI.InteractionIdentifierType : [SiriSuggestionsAPI.InteractionIdentifier : SiriSuggestionsAPI.StoreCache]]
    let delegate: any SiriSuggestionsAPI.SiriSuggestionsClient
    let cacheClearedListener: @Sendable (_: [SiriSuggestionsAPI.InteractionIdentifierType : [SiriSuggestionsAPI.InteractionIdentifier : SiriSuggestionsAPI.StoreCache]]) async -> ()

    init(client: any SiriSuggestionsAPI.SiriSuggestionsClient, cacheClearedListener: @escaping @Sendable (_: [SiriSuggestionsAPI.InteractionIdentifierType : [SiriSuggestionsAPI.InteractionIdentifier : SiriSuggestionsAPI.StoreCache]]) async -> ())
    func submitAsync(for: SiriSuggestionsAPI.InteractionIdentifier, propertyKey: Swift.String, propertyValue: any Swift.Decodable & Swift.Encodable & Swift.Sendable) async throws
    func getNextSuggestions(requestId: Swift.String) async -> SiriSuggestionsKit.SiriSuggestions.SuggestionList
    func getNextSuggestions(for: Swift.String, relatedIds: Swift.Set<SiriSuggestionsAPI.InteractionIdentifier>, extraStateStoreProperties: [Swift.String : any Swift.Decodable & Swift.Encodable & Swift.Sendable]?) async -> SiriSuggestionsKit.SiriSuggestions.SuggestionList
    func flush(for: Swift.String) async throws

    init(client: any SiriSuggestionsAPI.SiriSuggestionsClient)

    var unownedExecutor: Swift.UnownedSerialExecutor {
        get
    }

    deinit
}