<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>falsandtru</author_name>
  <author_url>https://blog.hatena.ne.jp/falsandtru/</author_url>
  <blog_title>falsandtruのメモ帳</blog_title>
  <blog_url>https://falsandtru.hatenablog.com/</blog_url>
  <categories>
    <anon>TypeScript</anon>
  </categories>
  <description>ObservablePromiseはAsyncIterableインターフェイスを実装することで途中状態を取得可能にしたPromiseである。ObservablePromiseの最大の利点は非同期の途中状態と最終状態という意味的に異なる状態の分離をfor-awaitとasync/awaitという言語抽象レベルで行うことで標準的な形でこれを区別して扱えることであり、その内部表現もまた言語抽象であるAsync generatorで標準にのっとり簡潔に記述できる。 ObservablePromise抽象はコルーチンと親和性が高いためここではObservablePromiseをコルーチンとして実装した。…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffalsandtru.hatenablog.com%2Fentry%2Fobservablepromise&quot; title=&quot;AsyncIteratorとPromiseによるObservablePromise抽象 - falsandtruのメモ帳&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>2018-12-19 00:00:00</published>
  <title>AsyncIteratorとPromiseによるObservablePromise抽象</title>
  <type>rich</type>
  <url>https://falsandtru.hatenablog.com/entry/observablepromise</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
