Avatar
@swift-main @swift-5.10 @swift-6.0-dev @MainActor func doSomething() async { await withUnsafeContinuation { continuation in if #available(macOS 14.0, *) { MainActor.shared.assertIsolated() } continuation.resume(returning: ()) } } await Task.detached { await doSomething() }.value (edited)
🤔 1