SwiftactorStoreKit
StoreProductManager
actor StoreKit.StoreProductManager
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSwift.Actor
Members 21
- var
static var shared: StoreKit.StoreProductManager { get } - deinit
deinit - field
var $defaultActor: Builtin.DefaultActorStorage+0x10 - field
var loadingIDs: Set<StoreKit.StoreProductManager.Identifier>+0x90 - field
var loadingTasks: [Foundation.UUID : Task<(), Never>] - field
let log: StoreKit.SKLogger - field
var lowMemoryTask: Task<(), Never>? - field
var products: [StoreKit.StoreProductManager.ProductID : StoreKit.StoreProductManager.CachedProduct]+0x70 - field
var purgableIDs: Set<StoreKit.StoreProductManager.Identifier>+0x80 - field
var stagingIDs: Set<StoreKit.StoreProductManager.Identifier>+0x88 - field
var storefrontTask: Task<(), Never>? - field
var subscriptionGroups: [StoreKit.StoreProductManager.SubscriptionGroupID : StoreKit.StoreProductManager.CachedGroup]+0x78 - field
var throttleTask: Task<(), Never>? - func
cachedProduct(for: String) -> StoreKit.Product? - func
observer(subscriptionGroupID: String, origin: StoreKit.StoreKitViewOrigin) async -> StoreKit.StoreProductManager.SubscriptionGroupObserver - func
observer(for: String, origin: StoreKit.StoreKitViewOrigin) -> StoreKit.StoreProductManager.SingleObserver - func
observer<A where A: Collection, A: Sendable, A.Element == String>(for: A, origin: StoreKit.StoreKitViewOrigin) async -> StoreKit.StoreProductManager.CollectionObserver - func
removeObserver(subscriptionGroupID: String, origin: StoreKit.StoreKitViewOrigin) -> () - func
removeObserver(for: String, origin: StoreKit.StoreKitViewOrigin) -> () - func
removeObserver<A where A: Collection, A.Element == String>(for: A, origin: StoreKit.StoreKitViewOrigin) -> () - var
var unownedExecutor: UnownedSerialExecutor { get }
Header
actor StoreProductManager { class SingleObserver { enum Storage { case failed(any Swift.Error) case success(StoreKit.Product) case loading case unavailable } @Combine.Published final var state: StoreKit.StoreProductManager.SingleObserver.Storage { get } deinit } class CollectionObserver { enum Storage { case loading(Swift.String) case unavailable(Swift.String) case available(StoreKit.Product) var id: Swift.String { get } } @Combine.Published final var error: (any Swift.Error)? { get } @Combine.Published final var storage: [StoreKit.StoreProductManager.CollectionObserver.Storage] { get } deinit } class SubscriptionGroupObserver { enum Storage { case failed(any Swift.Error) case success([StoreKit.Product]) case loading } @Combine.Published final var state: StoreKit.StoreProductManager.SubscriptionGroupObserver.Storage { get } deinit } struct SubscriptionGroupID { var rawValue: Swift.String } struct CachedGroup { var productIDs: Swift.Set<StoreKit.StoreProductManager.ProductID>? weak var observer: StoreKit.StoreProductManager.SubscriptionGroupObserver? } enum Identifier { case product(StoreKit.StoreProductManager.ProductID) case subscriptionGroup(StoreKit.StoreProductManager.SubscriptionGroupID) } struct ProductID { var rawValue: Swift.String } struct CachedProduct { var storage: (storage: StoreKit.Product, expiration: Foundation.Date)? weak var singleObserver: StoreKit.StoreProductManager.SingleObserver? var collectionObservers: [StoreKit.WeakBox<StoreKit.StoreProductManager.CollectionObserver>] } var products: [StoreKit.StoreProductManager.ProductID : StoreKit.StoreProductManager.CachedProduct] var subscriptionGroups: [StoreKit.StoreProductManager.SubscriptionGroupID : StoreKit.StoreProductManager.CachedGroup] var purgableIDs: Swift.Set<StoreKit.StoreProductManager.Identifier> var stagingIDs: Swift.Set<StoreKit.StoreProductManager.Identifier> var loadingIDs: Swift.Set<StoreKit.StoreProductManager.Identifier> var storefrontTask: Swift.Task<(), Swift.Never>? var lowMemoryTask: Swift.Task<(), Swift.Never>? var throttleTask: Swift.Task<(), Swift.Never>? var loadingTasks: [Foundation.UUID : Swift.Task<(), Swift.Never>] let log: StoreKit.SKLogger var unownedExecutor: Swift.UnownedSerialExecutor { get } func cachedProduct(for: Swift.String) -> StoreKit.Product? func removeObserver(subscriptionGroupID: Swift.String, origin: StoreKit.StoreKitViewOrigin) func removeObserver(for: Swift.String, origin: StoreKit.StoreKitViewOrigin) func removeObserver<A>(for: A, origin: StoreKit.StoreKitViewOrigin) where A: Swift.Collection, A.Element == Swift.String func observer(subscriptionGroupID: Swift.String, origin: StoreKit.StoreKitViewOrigin) async -> StoreKit.StoreProductManager.SubscriptionGroupObserver func observer(for: Swift.String, origin: StoreKit.StoreKitViewOrigin) -> StoreKit.StoreProductManager.SingleObserver func observer<A>(for: A, origin: StoreKit.StoreKitViewOrigin) async -> StoreKit.StoreProductManager.CollectionObserver where A: Swift.Collection, A: Swift.Sendable, A.Element == Swift.String static var shared: StoreKit.StoreProductManager { get } deinit }