Skip to content

Instantly share code, notes, and snippets.

@takashima0411
Created September 26, 2018 05:44
Show Gist options
  • Save takashima0411/fa57488d0f785bf10ed80968fdf91ad2 to your computer and use it in GitHub Desktop.
Save takashima0411/fa57488d0f785bf10ed80968fdf91ad2 to your computer and use it in GitHub Desktop.
akka stream start script for ammonite repl
import $ivy.`com.typesafe.akka::akka-stream:2.5.16`
import $ivy.`com.lightbend.akka::akka-stream-alpakka-json-streaming:0.20`
import $ivy.`com.lightbend.akka::akka-stream-alpakka-text:0.20`
import akka.actor._
import akka._
import scala.concurrent._
import akka.stream._
import akka.stream.scaladsl._
import akka.util.ByteString
implicit val system = ActorSystem("TestSystem")
implicit val materializer = ActorMaterializer()
import system.dispatcher
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment