<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>unageanu</author_name>
  <author_url>https://blog.hatena.ne.jp/unageanu/</author_url>
  <blog_title>うなの日記</blog_title>
  <blog_url>https://unageanu.hatenablog.com/</blog_url>
  <categories>
    <anon>Erlang</anon>
  </categories>
  <description>Getting Started With Erlangの続き。ちょい忙しいので「4.1 Timeouts」だけ。 receive構文でのタイムアウト receive構文では、メッセージ待ち受けがタイムアウトした場合の処理を指定することができます。以下の形式で書きます。 receive &lt;パターン&gt; -&gt; &lt;処理&gt;; &lt;パターン&gt; -&gt; &lt;処理&gt;; &lt;パターン&gt; -&gt; &lt;処理&gt; after &lt;タイムアウト待ち時間&gt; -&gt; &lt;タイムアウト時に実行する処理&gt; end. タイムアウト時間には待ち時間をミリ秒で指定します。 receiveの最後の処理にも、afterの最後の処理にも「;」はつかないので注…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Funageanu.hatenablog.com%2Fentry%2F20071115%2F1195129351&quot; title=&quot; receive構文でのタイムアウト - うなの日記&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>2007-11-15 21:22:31</published>
  <title> receive構文でのタイムアウト</title>
  <type>rich</type>
  <url>https://unageanu.hatenablog.com/entry/20071115/1195129351</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
