does the .backgroundTask SwiftUI modifier work with BGProcessingTaskRequest requests?

Need to run a task in the background that will take several minutes, so BGProcessingTaskRequest seems more appropriate than BGAppRefreshTaskRequest. I'm not sure however that the .backgroundTask modifier will run this since its two possible arguments are either .appRefresh or .UrlSession

Thank you in advance, Javier

I have the same question!

I have the same question! I filled a feedback FB12189714 if you want to reference it. Hopefully added in the next version and introduced at WWDC 23.

does the .backgroundTask SwiftUI modifier work with BGProcessingTaskRequest requests?
 
 
Q