diff options
Diffstat (limited to 'src/actors')
-rw-r--r-- | src/actors/scala/actors/Actor.scala | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/actors/scala/actors/Actor.scala b/src/actors/scala/actors/Actor.scala index f65ec526c4..6e3179113c 100644 --- a/src/actors/scala/actors/Actor.scala +++ b/src/actors/scala/actors/Actor.scala @@ -617,8 +617,14 @@ trait Actor extends OutputChannel[Any] { this } - def loop(body: => Unit): Nothing = + /** + * Repeatedly execute <code>body</code>. + * + * @param body the code block to be executed + */ + /*def loop(body: => Unit): Nothing = { Actor.seq(body, loop(body)) + }*/ private[actors] var links: List[Actor] = Nil |