Removing pipeTo from akka.actor, renamed pipeTo(f,a) to pipe(f,a)

This commit is contained in:
Viktor Klang 2012-01-31 18:56:25 +01:00
parent 815245a133
commit 571af3d8d2
11 changed files with 24 additions and 38 deletions

View file

@ -314,7 +314,7 @@ class ActorDocSpec extends AkkaSpec(Map("akka.loglevel" -> "INFO")) {
"using pattern ask / pipeTo" in {
val actorA, actorB, actorC, actorD = system.actorOf(Props.empty)
//#ask-pipeTo
import akka.pattern.{ ask, pipeTo }
import akka.pattern.{ ask, pipeTo, pipe }
case class Result(x: Int, s: String, d: Double)
case object Request
@ -329,7 +329,7 @@ class ActorDocSpec extends AkkaSpec(Map("akka.loglevel" -> "INFO")) {
} yield Result(x, s, d)
f pipeTo actorD // .. or ..
pipeTo(f, actorD)
pipe(f, actorD)
//#ask-pipeTo
}