<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mizchi</author_name>
  <author_url>https://blog.hatena.ne.jp/mizchi/</author_url>
  <blog_title>mizchi's blog</blog_title>
  <blog_url>https://mizchi.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>最近自分で非同期前提のプラグイン書くときはThenableな感じで書いてることが多い。 Thenableってのはどういうことかというと、typescirptのes6-promises では次のように定義してある。 interface Thenable&lt;R&gt; { then&lt;U&gt;(onFulfilled: (value: R) =&gt; Thenable&lt;U&gt;, onRejected: (error: any) =&gt; Thenable&lt;U&gt;): Thenable&lt;U&gt;; then&lt;U&gt;(onFulfilled: (value: R) =&gt; Thenable&lt;U&gt;, onRejected?: (erro…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmizchi.hatenablog.com%2Fentry%2F2014%2F05%2F03%2F230529&quot; title=&quot;Promise時代のJavaScriptの関数の処理/提供 - mizchi&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>2014-05-03 23:05:29</published>
  <title>Promise時代のJavaScriptの関数の処理/提供</title>
  <type>rich</type>
  <url>https://mizchi.hatenablog.com/entry/2014/05/03/230529</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
