Skip to content

Instantly share code, notes, and snippets.

@kylemccollom
Created December 17, 2018 17:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kylemccollom/f21e84b153c3578fc0ae898cbf762fe3 to your computer and use it in GitHub Desktop.
Save kylemccollom/f21e84b153c3578fc0ae898cbf762fe3 to your computer and use it in GitHub Desktop.
  ...
  routees = accounts.map { accn =>
   val channelAccount = context.actorOf(Props(classOf[ChannelAccount], signer, accn))
   ActorRefRoutee(channelAccount)
}
} yield Router(RoundRobinRoutingLogic(), routees)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment