<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>maiyama4</author_name>
  <author_url>https://blog.hatena.ne.jp/maiyama4/</author_url>
  <blog_title>maiyama4's blog</blog_title>
  <blog_url>https://maiyama4.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>概要 以前に [swift] メインスレッドから処理を逃すために Task.detached を使う必要はない（ことが多い） - zenn という記事で「async 関数はあえて main actor に isolate しない限り必ずバックグラウンドで実行される」ことについて書きました。より一般的には「nonisolated な async 関数は actor から呼び出されたとしても actor 外では実行される」ということです。これが Swift 6.2 で以下のように変わります。 nonisolated な async 関数に nonisolated(nonsending) をつけるこ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmaiyama4.hatenablog.com%2Fentry%2F2025%2F07%2F25%2F134453&quot; title=&quot;Swift 6.2 (Xcode 26) で nonisolated な async 関数の振る舞いが変わる - maiyama4&amp;#39;s blog&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>2025-07-25 13:44:53</published>
  <title>Swift 6.2 (Xcode 26) で nonisolated な async 関数の振る舞いが変わる</title>
  <type>rich</type>
  <url>https://maiyama4.hatenablog.com/entry/2025/07/25/134453</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
