<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tamata78</author_name>
  <author_url>https://blog.hatena.ne.jp/tamata78/</author_url>
  <blog_title>気軽に楽しくプログラムと遊ぶ</blog_title>
  <blog_url>https://tamata78.hatenablog.com/</blog_url>
  <categories>
    <anon>kotlin</anon>
    <anon>非同期</anon>
  </categories>
  <description>非同期処理で用いるコレクション Sequence val numberSeq = (1..3).asSequence() val resultSeq = numberSeq .map { println(&quot;1st map: $it&quot;); it + 1 } .map { println(&quot;2nd map: $it&quot;); it + 2 } .toList() println(resultSeq) Sequenceは、遅延リストのためtoList()が処理される段階で処理が出力される。 mapの処理がいくら呼ばれてもprintlnは実行されず、toListが呼ばれたときにはじめて実行される 以下のよ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftamata78.hatenablog.com%2Fentry%2F2023%2F07%2F13%2F183140&quot; title=&quot;Kotlin Coroutines 非同期処理 - 気軽に楽しくプログラムと遊ぶ&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>2023-07-13 18:31:40</published>
  <title>Kotlin Coroutines 非同期処理</title>
  <type>rich</type>
  <url>https://tamata78.hatenablog.com/entry/2023/07/13/183140</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
