<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>camellia1977</author_name>
  <author_url>https://blog.hatena.ne.jp/camellia1977/</author_url>
  <blog_title>カメリアの記事</blog_title>
  <blog_url>https://camellia.hatenablog.jp/</blog_url>
  <categories>
    <anon>JavaScript</anon>
  </categories>
  <description>コード 単品 new Promise(resolve =&gt; { window.onload = e =&gt; { resolve(e) } }) .then(e =&gt; { // 処理 }) 複数 let promiseArray = [] for (let i of array) { promiseArray .push( new Promise(resolve =&gt; { // 処理 someone.onload = e =&gt; { resolve(e) } }) ) } Promise.all(promiseArray) .then(eArray =&gt; { // 処理 }) 経緯 他の Promi…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcamellia.hatenablog.jp%2Fentry%2F2025%2F05%2F18%2F072140&quot; title=&quot;JavaScript でイベントを then する - カメリアの記事&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>2025-05-18 07:21:40</published>
  <title>JavaScript でイベントを then する</title>
  <type>rich</type>
  <url>https://camellia.hatenablog.jp/entry/2025/05/18/072140</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
