How do you wait for a AVSpeechSynthesis text to speech to finish to change the state of a Control in SwiftUI?

How do you wait for a AVSpeechSynthesis text to speech to finish to change the state of a Control in SwiftUI?