# Description ```swift nonisolated func onPreferenceChange<K>( _ key: K.Type = K.self, perform action: @escaping (K.Value) -> Void ) -> some View where K : PreferenceKey, K.Value : Equatable ```
Description