Generic Function

async(priority:operation:)

No overview available.

Declaration 宣言

@discardableResult func async<T>(priority: TaskPriority? = nil, operation: @escaping @Sendable () async throws -> T) -> Task<T, Error> where T : Sendable