SwiftUI: Show Modal Dialog from … anywhere?

Context: Authorized Network requests.

I have a process (a publisher, to be precise), which will give me a fresh access token for a request.

To do that, I may need user interaction, i.e. show a View, Alert, or something like that.

How can I do that in SwiftUI? Can I just (modally) display something, without explicitly being in a View body? Should I have to pass in a "superview" to do this, or do you have other ideas?

Thanks

Alex
SwiftUI: Show Modal Dialog from … anywhere?
 
 
Q