Store
@propertyWrapper
@StorageActor
open class Store<Value, StorageType> : StorePropertyWrapper<StorageType> where StorageType : Storage
@Store property wrapper.
-
Create a
Storeproperty wrapper.Declaration
Swift
@StorageActor public convenience init(wrappedValue: Value?, _ storage: StorageType, _ key: StoreKey) -
Property wrapper stored value.
Declaration
Swift
@StorageActor open var wrappedValue: Value? { get set }
View on GitHub
Install in Dash