<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>toyship</author_name>
  <author_url>https://blog.hatena.ne.jp/toyship/</author_url>
  <blog_title>Toyship.org</blog_title>
  <blog_url>https://www.toyship.org/</blog_url>
  <categories>
  </categories>
  <description>async/await使ってみましたか？ コードがすっきり書けるようになって、とても便利ですよね。 必要な情報だけチェックしてすぐ動かして確認したい方向けに、ざっくりした情報を書いてみました。 すぐ使えるSwift Concurrency！なので、とりあえず書いてみてください。 ざっくりasync async/awaitは、Swiftに導入された新しい非同期処理です。 多くのAPIがasync/awaitに対応していますが、動作確認で一番手軽なのはURLSessionですね。 今までのコードだとこんな感じですが…… let url = URL(string: &quot;https://www.appl…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.toyship.org%2F2021%2F12%2F03%2F105551&quot; title=&quot;Async 、 Task 、そして MainActor - Toyship.org&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-12-03 10:55:51</published>
  <title>Async 、 Task 、そして MainActor</title>
  <type>rich</type>
  <url>https://www.toyship.org/2021/12/03/105551</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
