def props()

in src/main/scala/com/twitter/scaffold/Scaffold.scala [99:110]


  def props(interpreters: ActorRef) = Props(classOf[Scaffold], interpreters)

  val interpreters = system.actorOf(InterpreterSupervisor.props(10 minutes), "interpreter-supervisor")
  val scaffold = system.actorOf(props(interpreters), "scaffold")
  val flags = Flags(args)

  {
    // pre-warm the interpreter
    val warm = system.actorOf(Interpreter.props)
    warm ! Interpreter.Interpret("1 + 1")
    warm ! PoisonPill
  }