Swift developers can now fetch location data asynchronously and safely using a one-time use class instance and @MainActor. The solution ensures that requests are executed on the main thread, resolving issues with callback APIs. This innovation provides a reliable way to access location information in Swift applications.
Source: https://dev.to/randomengy/thread-safe-async-location-fetching-in-swift-31gm