<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>qtamaki</author_name>
  <author_url>https://blog.hatena.ne.jp/qtamaki/</author_url>
  <blog_title>セカイノカタチ</blog_title>
  <blog_url>https://qtamaki.hatenablog.com/</blog_url>
  <categories>
    <anon>Scala</anon>
    <anon>java</anon>
    <anon>システム開発</anon>
    <anon>プログラミング</anon>
  </categories>
  <description>Scalaには、非同期実行をサポートするために Future というクラスがあります。 正確にはJavaにも同名の仕組みがあるのですが、それをちょっと便利にした感じのものです。 Futureの仕組みを簡単に言うと、関数を渡すと別のThreadでその関数を実行してくれるものです。 それだけだと、Threadクラスとあまり変わらないのですが、ExecutionContext という管理クラスを渡してあげることによって、Threadの挙動をよりインテリジェントに制御してくれるため、Thread周りの煩わしさが大きく軽減します。 そのThread制御を担当するのが、ExecutionContextEx…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fqtamaki.hatenablog.com%2Fentry%2F2017%2F08%2F25%2F111859&quot; title=&quot;ScalaのFutureに渡す ExecutionContext の挙動がわかりにくいので図解する - セカイノカタチ&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>https://docs.google.com/drawings/d/e/2PACX-1vRT1g9rkjKGuBxObfMZ7C-2b0_OipHb95ZVNVDhB3vL_GSVSIH3yklDdxocep8XD3iaiLHwFXQ6oMTt/pub?w=523&amp;h=737</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-08-25 11:18:59</published>
  <title>ScalaのFutureに渡す ExecutionContext の挙動がわかりにくいので図解する</title>
  <type>rich</type>
  <url>https://qtamaki.hatenablog.com/entry/2017/08/25/111859</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
