<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ku__ra__ge</author_name>
  <author_url>https://blog.hatena.ne.jp/ku__ra__ge/</author_url>
  <blog_title>くらげのChangeLog</blog_title>
  <blog_url>https://culage.hatenablog.com/</blog_url>
  <categories>
    <anon>program</anon>
  </categories>
  <description>説明するより、コードを見たほうがわかりやすい。 async function sleep3() { console.log(&quot;start&quot;); await sleep(3); console.log(&quot;end&quot;); } // これはPromiseを返す async function sleep(n) { for(var i=0; i&lt;n; i++) { await sleepOne(); } } function sleepOne() { return new Promise(resolve =&gt; setTimeout(resolve, 1000)); }async関数からasync関数をaw…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fculage.hatenablog.com%2Fentry%2F2019%2F03%2F02%2F000000_1&quot; title=&quot;javascriptの asyc function はPromiseを返す - くらげのChangeLog&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>2019-03-02 00:00:00</published>
  <title>javascriptの asyc function はPromiseを返す</title>
  <type>rich</type>
  <url>https://culage.hatenablog.com/entry/2019/03/02/000000_1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
