Enumeration Casepointfreeco.swift-sharing 2.3.0Sharing
userInitiated
The value is being saved explicitly (via save
).
case userInitiated
The value is being saved explicitly (via save
).
case userInitiated
import Sharing
Instantly share state among your app’s features and external persistence layers, including user defaults, the file system, and more.
enum SaveContext
The context in which a value is saved by a SharedKey
.
func save() async throws
Requests the underlying value be persisted to an external source.
case didSet
The value is being saved implicitly (after a mutation via withLock(_:fileID:filePath:line:column:)
).