- About Scala
- In the Enterprise
- Scala Community
- Language Research
- In the Press
- The Scala Team
- Scala's Prehistory
- Contact Us
- Learning Scala
- Tour of Scala
- Scala API
- Setup & Getting Started
- Programming Guides
- Other Guides
- Code Examples
- Scala Developers
A few questions (ok, a lot of questions) about some Actor methods
Wed, 2009-10-21, 03:47
The scaladoc for the Actor class is quite vague in many places. While
I feel I understand the gist of concurrency with Actors, the scaladoc
for some of the other methods leaves me still confused.
* the two exit methods - who calls these? Can I call them on Actors I
have access to to "stop" them? If I can't, how can I tell an Actor to
stop? What happens when these are called in the middle of processing a
* link - what does this do and why would I do it? What does the link
that takes a function do?
* receive - what purpose does the version with the partial function serve?
* ! and forward - what is the difference?
* What does the partial function to !! do?
* Bonus question: What is Channel for? It says it provides for "typed
communication", but I don't see how that isn't already possible with
If there is a (scala-specific) reference point for this, that would
great, and I'm even willing to make a stab at updating the scaladoc.
I find the Odersky book great for introductory coverage, but I'm
baffled by this class (not to mention the myraid others in the
package, e.g. Debug).