diff options
author | Philipp Haller <hallerp@gmail.com> | 2007-07-09 20:14:56 +0000 |
---|---|---|
committer | Philipp Haller <hallerp@gmail.com> | 2007-07-09 20:14:56 +0000 |
commit | b0b847f1ebd3660cc9fe716717d0937a9caa4134 (patch) | |
tree | c4c54a87f7ab759950a9c781f30dfc104707dbf6 /docs/examples/actors/channels.scala | |
parent | b766a0baf330c46dbab05afc61364e04bb5ffb6c (diff) | |
download | scala-b0b847f1ebd3660cc9fe716717d0937a9caa4134.tar.gz scala-b0b847f1ebd3660cc9fe716717d0937a9caa4134.tar.bz2 scala-b0b847f1ebd3660cc9fe716717d0937a9caa4134.zip |
Added actors example that uses explicit reply d...
Added actors example that uses explicit reply destinations.
Diffstat (limited to 'docs/examples/actors/channels.scala')
-rw-r--r-- | docs/examples/actors/channels.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/examples/actors/channels.scala b/docs/examples/actors/channels.scala index 498fb9602c..9267882e50 100644 --- a/docs/examples/actors/channels.scala +++ b/docs/examples/actors/channels.scala @@ -13,8 +13,8 @@ object channels extends Application { b ! Msg(Ch1, Ch2) react { - case Ch1 ! x => Console.println("received on int channel: "+x) - case Ch2 ! y => Console.println("received on String channel: "+y) + case x => Console.println("received on int channel: "+x) + //case y => Console.println("received on String channel: "+y) } } |