Deep Dive to Swift Concurrency - async let
async let 에 대해서
보통 Swift Concurrency에 대해서 사용하고자 하면 다음과 같이 사용할 것이다.
func fetchOneThumbnail(withID id: String) async throws -> UIImage {
let imageReq = imageRequest(for: id)
let metadataReq = metadataRequest(for: id)
let (data, _) = try awa...
toby.hashnode.dev3 min read