Thanks for trying, but your code causes bunch of errors and I cannot try it. Maybe this reactive publisher pattern is not good for using with SwiftUI. Or you can send a bug report to Apple, if you think it is a bug of SwiftUI.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: