This PR introduces two new entry points named withUnsafe[Throwing]Continuation() in the _Concurrency module. The two new entry points have the following types: withUnsafeContinuation: <T&...
4:14 AM
withUnsafeContinuation: <T> ((UnsafeContinuation<T>) -> Void) async -> T withUnsafeThrowingContinuation: <T> ((UnsafeThrowingContinuation<T>) -> Void) async throws -> T
4:14 AM
let x: Int = await withUnsafeContinuation { c in c.resume(123) } // x = 123