onReceive(_:perform:) Adds an action to perform when this view detects data emitted by the given publisher . iOS 13.0+ iPadOS 13.0+ macOS 10.15+
What is onReceive SwiftUI?
onReceive(_:perform:) Adds an action to perform when this view detects data emitted by the given publisher . iOS 13.0+ iPadOS 13.0+ macOS 10.15+