DOC: Example of onComplete for Java Future API
For example:
// returns a future Future[String] future = actor.ask(message); future.onComplete(new Procedure[Future[String]]() { void apply(Future[String]] f) { ... = f.value(); } });
Leave a comment
on 2011-12-09 04:31 *
By Jonas Bonér
Summary changed from DOC: Examlpe of onComplete for Java Future API to DOC: Example of onComplete for Java Future API