Tobytoby.hashnode.dev·May 25, 2024Deep Dive to Swift Concurrency - task groupDeep Dive to Swift Concurrency 시리즈 https://toby.hashnode.dev/deep-dive-to-swift-concurrency-async-let Task Group 이전 시간 async let을 활용하여 Structed Concurrency(부모Task, 자식Task)를 구현해보았음. func fetchOneThumbnail(withID id: String) async throws -> UIImage {...DiscussTask Group
Tobytoby.hashnode.dev·May 25, 2024Deep Dive to Swift Concurrency - async letasync 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...DiscussSwiftSwift Concurrency