<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kuromaguroo</author_name>
  <author_url>https://blog.hatena.ne.jp/kuromaguroo/</author_url>
  <blog_title>コドモン Product Team Blog</blog_title>
  <blog_url>https://tech.codmon.com/</blog_url>
  <categories>
    <anon>テスト</anon>
    <anon>フロントエンド</anon>
    <anon>TypeScript</anon>
  </categories>
  <description>こちらの記事は「コドモン Advent Calendar 2023」の 24日目の記事です🎅 qiita.com こんにちは！ コドモンプロダクト開発部エンジニアの関口です。 みなさまはsetTimeout関数を利用していますか？ setTimeout関数は一定時間後に指定した関数を実行させることができる関数で、私はリトライ処理などでよく使っています。最近、珍しくフロントエンドからバックエンドAPIをポーリングする処理のためにsetTimeout関数を利用する機会がありましたので、その際に得た学びについて書きます。 やりたかったこと 悩みどころ 単体テストで品質を担保するために やってみた結果…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.codmon.com%2Fentry%2F2023%2F12%2F24%2F000000&quot; title=&quot;フロントエンドのポーリング処理を単体テストした話 - コドモン Product Team 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>https://cdn-ak.f.st-hatena.com/images/fotolife/k/kuromaguroo/20231212/20231212081030.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-12-24 00:00:00</published>
  <title>フロントエンドのポーリング処理を単体テストした話</title>
  <type>rich</type>
  <url>https://tech.codmon.com/entry/2023/12/24/000000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
