def map2[A, B, C]()

in src/main/scala/com/gu/ssm/utils/attempt/Attempt.scala [79:84]


  def map2[A, B, C](aAttempt: Attempt[A], bAttempt: Attempt[B])(f: (A, B) => C)(implicit ec: ExecutionContext): Attempt[C] = {
    for {
      a <- aAttempt
      b <- bAttempt
    } yield f(a, b)
  }