Instance Methodpointfreeco.swift-sharing 2.3.0Sharing
reset
SharedChangeTracker.swift:140This declaration is gated by at least one @_spi attribute.
func reset()
This declaration is gated by at least one @_spi attribute.
func reset()
import Sharing
Instantly share state among your app’s features and external persistence layers, including user defaults, the file system, and more.
struct SharedChangeTracker
init(reportUnassertedChanges: Bool = isTesting)
var hasChanges: Bool { get }
static func == (lhs: Self, rhs: Self) -> Bool
func assert<R>(_ body: () throws -> R) rethrows -> R
func hash(into hasher: inout Hasher)
func track<R>(_ body: () throws -> R) rethrows -> R
func track(_ dependencies: inout DependencyValues)