<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>cheesepie</author_name>
  <author_url>https://blog.hatena.ne.jp/cheesepie/</author_url>
  <blog_title>Cheese Pie</blog_title>
  <blog_url>https://cheesepie.hatenadiary.org/</blog_url>
  <categories>
    <anon>javascript</anon>
    <anon>nodejs</anon>
  </categories>
  <description>jQueryのDeferredのデザインにも使われていることから、一番メジャーになりそうなCommonJS Promises/Aの提案を実装してみました。 CommonJS Promises/Aのwikiを読む限りでは、マストな仕様は以下の3つです。 Promiseは&quot;未完&quot;な状態から始まり、&quot;未完&quot;あるいは&quot;完了&quot;あるいは&quot;失敗&quot;の状態へ遷移すること Promiseは&quot;then&quot;という名前の関数をもったオブジェクトを返すこと &quot;then&quot;メソッドはPromiseを返しチェインできるようにし、またコールバックでエラーが起きた場合は&quot;失敗&quot;の状態へ遷移すること あとはそれぞれの開発者が便利なAP…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcheesepie.hatenadiary.org%2Fentry%2F20111112%2F1321064204&quot; title=&quot;CommonJSのPromiseに沿ったシンプルなオレオレDeferred書いた - Cheese Pie&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>2011-11-12 11:16:44</published>
  <title>CommonJSのPromiseに沿ったシンプルなオレオレDeferred書いた</title>
  <type>rich</type>
  <url>https://cheesepie.hatenadiary.org/entry/20111112/1321064204</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
