<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>fueiseix</author_name>
  <author_url>https://blog.hatena.ne.jp/fueiseix/</author_url>
  <blog_title>暮らしのメモちょう</blog_title>
  <blog_url>https://fueiseix.hatenablog.com/</blog_url>
  <categories>
    <anon>javascript</anon>
  </categories>
  <description>やりたいこと 複数のAJAX処理を一つずつ順番に、前の処理が終わるのを待って実行したい。 環境 jQuery 1.8 以降 やり方 jQueryのDeferredオブジェクトを利用してAJAX実行Queueを作成する。途中でエラーが発生した際にそのまま続行するQueueと以降の処理をキャンセルするQueue、２通り作ってみた。 エラー後も続行するQueue // AJAX実行Queue var ajaxQueue = function () { var previous = new $.Deferred().resolve(); return function (fn) { // then()…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffueiseix.hatenablog.com%2Fentry%2F2018%2F05%2F08%2F152802&quot; title=&quot;AJAX処理を順番に実行する - 暮らしのメモちょう&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-05-08 15:28:02</published>
  <title>AJAX処理を順番に実行する</title>
  <type>rich</type>
  <url>https://fueiseix.hatenablog.com/entry/2018/05/08/152802</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
