An async function that never returns.
static func never() async throws -> Success
sScT17ConcurrencyExtrass5NeverORs_rlE5neverxyYaKFZ
7FBIE
where Failure == Never, Success:Sendable
import _Concurrency
import ConcurrencyExtras
Useful, testable Swift concurrency.
@frozen struct Task<Success, Failure> where Success : Sendable, Failure : Error
A unit of asynchronous work.
@frozen enum Never
A type that has no values and can’t be constructed.
protocol Sendable
var cancellableValue: Success { get async }
Waits for the result of the task, propagating cancellation to the task.