SwiftactorSiriSuggestionsAPI
LocalStateStoreClient
actor SiriSuggestionsAPI.LocalStateStoreClient
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSwift.Actor
- protocolSwift.CustomStringConvertible
Members 12
- deinit
deinit - field
var $defaultActor: Builtin.DefaultActorStorage+0x10 - field
var cache: [SiriSuggestionsAPI.InteractionIdentifierType : [SiriSuggestionsAPI.InteractionIdentifier : SiriSuggestionsAPI.StoreCache]]+0x70 - field
let cacheClearedListener: @Sendable ([SiriSuggestionsAPI.InteractionIdentifierType : [SiriSuggestionsAPI.InteractionIdentifier : SiriSuggestionsAPI.StoreCache]]) async -> ()+0xa0 - field
let delegate: SiriSuggestionsAPI.SiriSuggestionsClient+0x78 - func
flush(for: String) async throws -> () - func
getNextSuggestions(requestId: String) async -> SiriSuggestionsKit.SiriSuggestions.SuggestionList - func
getNextSuggestions(for: String, relatedIds: Set<SiriSuggestionsAPI.InteractionIdentifier>, extraStateStoreProperties: [String : Decodable & Encodable & Sendable]?) async -> SiriSuggestionsKit.SiriSuggestions.SuggestionList - func
submitAsync(for: SiriSuggestionsAPI.InteractionIdentifier, propertyKey: String, propertyValue: Decodable & Encodable & Sendable) async throws -> () - init
SiriSuggestionsAPI.LocalStateStoreClient.__allocating_init(client: SiriSuggestionsAPI.SiriSuggestionsClient, cacheClearedListener: @Sendable ([SiriSuggestionsAPI.InteractionIdentifierType : [SiriSuggestionsAPI.InteractionIdentifier : SiriSuggestionsAPI.StoreCache]]) async -> ()) -> SiriSuggestionsAPI.LocalStateStoreClient - init
SiriSuggestionsAPI.LocalStateStoreClient.__allocating_init(client: SiriSuggestionsAPI.SiriSuggestionsClient) -> SiriSuggestionsAPI.LocalStateStoreClient - var
var unownedExecutor: UnownedSerialExecutor { get }
Header
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 }