fix Trigger references in the stream cookbook example for digest #24317

* replace Trigger with Unit
 * cosmetic changes in docs.stream.cookbook tests
This commit is contained in:
Roman Filonenko 2018-03-03 08:22:46 +01:00
parent 1574faf180
commit 8fcf728b7a
15 changed files with 52 additions and 90 deletions

View file

@ -1,11 +1,9 @@
package docs.stream.cookbook
import akka.NotUsed
import akka.stream.{ Graph, FlowShape, Inlet, Outlet, Attributes, OverflowStrategy }
import akka.stream.scaladsl._
import scala.concurrent.{ Await, Future }
import scala.concurrent.Await
import scala.concurrent.duration._
import akka.stream.stage.{ GraphStage, GraphStageLogic }
class RecipeReduceByKey extends RecipeSpec {