on 11/29/2010 3:00 AM
No! Long live the Future! Something that’s new in Akka 1.0-RC1 is the possibility to add hooks that are executed when a Future is completed. Behold! Welcome to Scala version 2.8.1.final (Java HotSpot(TM) 64-Bit Server VM, Java 1.6.0_22).Type in expressions to have them evaluated.Type :help for more information.scala> import akka.actor._import akka.actor._scala> import akka.actor.Actor._import akka.actor.Actor._scala> val actor = actorOf( new Actor {  def receive = {    case “foo” => Thread.sleep(10000);[...]
>> Read the full article on klangism.tumblr.com
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper