title: How can I execute multiple tasks in Scala?
body: <p>I have 50,000 tasks and want to execute them with 10 threads.
  In Java I should create Executers.threadPool(10) and pass runnable to is then wait to process all. Scala as I understand especially useful for that task, but I can't find solution in docs. </p>