SwiftUI-equivalent of UIKit's `UIView.AnimationOptions.beginFromCurrentState`?

Hey all,

In UIKit, we were able to specify options when using the UIView animation apis, and one of those options was .beginFromCurrentState. I'm working on some animations in SwiftUI. This is a view that animates when some state gets updated. However, the animation is relatively long (2 seconds), and so that state might change mid-animation, triggering a new animation.

Currently, the ongoing animation simply gets stopped, and the view jumps to the starting point of the new animation immediately.

Is there a way to specify an animation to start from the current state of the view? In UIKit there is beginFromCurrentState, and in CoreAnimation we are able to use the presentation layer to achieve starting from currentState. However, I am unable to find if / how to do this in SwiftUI.

Is this possible at all? If so, what documentation did I miss?

SwiftUI-equivalent of UIKit's `UIView.AnimationOptions.beginFromCurrentState`?
 
 
Q