title: scala: futures and lists
body: <p>I have such methods</p>
  <pre><code>def jobs: Future[List[Job]]
  def jobTasks(jobId: Int): Future[List[Task]]
  </code></pre>
  <p>Object <em>Job</em> has <em>jobId</em>  field.</p>
  <p>I need to collect all jobs with all tasks, which match to job to <code>List[JobWithTasks]</code></p>
  <pre><code>case class JobWithTasks(job: Job, tasks: List[Task])
  </code></pre>
  <p>Tried Future.traverse, some cats methods within for comprehensions. No result.</p>