you could try using task, such as
.task { await networkController.configureAmplify() }
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: