=doc #17039 change default materialization placeholder type from Unit to Any

This commit is contained in:
Mathias 2015-04-02 22:54:32 +02:00
parent a4c279c9c5
commit d92fcf211a
3 changed files with 3 additions and 7 deletions

View file

@ -17,7 +17,7 @@ class RecipeWorkerPool extends RecipeSpec {
val worker = Flow[String].map(_ + " done")
//#worker-pool
def balancer[In, Out](worker: Flow[In, Out, Unit], workerCount: Int): Flow[In, Out, Unit] = {
def balancer[In, Out](worker: Flow[In, Out, Any], workerCount: Int): Flow[In, Out, Unit] = {
import FlowGraph.Implicits._
Flow() { implicit b =>