<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Kazuhira</author_name>
  <author_url>https://blog.hatena.ne.jp/Kazuhira/</author_url>
  <blog_title>CLOVER🍀</blog_title>
  <blog_url>https://kazuhira-r.hatenablog.com/</blog_url>
  <categories>
    <anon>Scala</anon>
  </categories>
  <description>よく忘れるので、自分のためにメモ。ScalaのActorで、linkとrestartの使い方。ScalaのActorには、Erlangのプロセスと同じようにリンクと再起動の概念があるようです。Actorトレイトのメソッドとして、linkとrestartがあるのですがこの使い方を本当によく忘れるんですよねー。まずは、サンプルとして以下のようなコードを用意。 import scala.actors.{Actor, Exit} import scala.actors.Actor._ case class Message(value: String) case class Eval(fun: () =…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkazuhira-r.hatenablog.com%2Fentry%2F20110611%2F1307798334&quot; title=&quot;Actorのlinkとrestart - CLOVER🍀&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>2011-06-11 22:18:54</published>
  <title>Actorのlinkとrestart</title>
  <type>rich</type>
  <url>https://kazuhira-r.hatenablog.com/entry/20110611/1307798334</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
