<div class="chatlog__message-group">
  <div id="chatlog__message-container-803438784637173821" class="chatlog__message-container" data-message-id="803438784637173821">
    <div class="chatlog__message">
      <div class="chatlog__message-aside"><img class="chatlog__avatar" src="https://cdn.discordapp.com/avatars/570487927482744843/d65d076a4272346088f189f572922d0c.png?size=512" alt="Avatar" loading="lazy"></div>
      <div class="chatlog__message-primary">
        <div class="chatlog__header"><span class="chatlog__author" title="at_aka" data-user-id="570487927482744843">ataka</span> <a href="/channels/430242233468452865?category=main&amp;channel=swiftbot-sandbox&amp;message_id=803438784637173821"><span class="chatlog__timestamp" title="Tuesday, January 26, 2021 1:38 AM"></span></a><a href="#chatlog__message-container-803438784637173821">1/26/2021 1:38 AM</a></div>
        <div class="chatlog__content chatlog__markdown"><span class="chatlog__markdown-preserve"><span class="chatlog__markdown-mention" title="swiftNightly#5501">@swift-main</span> -Xfrontend -enable-experimental-concurrency <code class="chatlog__markdown-pre chatlog__markdown-pre--multiline nohighlight">import Foundation import FoundationNetworking struct User: Identifiable, Codable { typealias ID = Int let id: ID var name: String var thumbnailURL: URL } func download(from url: URL, completion: @escaping (Data) -&gt; Void) { let data: Data = try! Data(contentsOf: url) completion(data) } func fetchUser(for id: User.ID, completion: @escaping (User) -&gt; Void) { let url: URL = URL(string: "https://koherent.org/async-await-challenge/api/user?id=\(id.description)")! download(from: url) { data in let user = try! JSONDecoder().decode(User.self, from: data) completion(user) } } fetchUser(for: 123) { user in print(user.name) }</code></span></div>
      </div>
    </div>
  </div>
</div>