I don't think you can use AsyncImage in the snippet. For exemple, you can't use it in Widget neither. so try use Image in your view and in your perform result also fetch the uiImage before passing it to the view.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: