I marked my block: parameter @Sendable: await UIApplication.shared.beginBackgroundTask(withName: "someName") { @Sendable in ... } and the warning went away.
Topic:
Programming Languages
SubTopic:
Swift
Tags: