Custom networkServiceType for AsyncImage in SwiftUI

According docs of AsyncImage:

This view uses the shared URLSession instance to load an image from the specified URL, and then display it.

Can you provide an example of using NetworkServiceType "background" when loading remote images using AsyncImage? Cheers!

P.S. Perhaps is as simple as URLSession.shared.configuration.networkServiceType = .background

Custom networkServiceType for AsyncImage in SwiftUI
 
 
Q