Closed vsuharnikov closed 9 years ago
With this function we can write the nicer code. For example:
val future: Future[Int] = Future { 1 } val rx = future.toRx getOrElse 0 // vs: val rx = future.toRx.map { case Success(n) => n case _ => 0 }
With this function we can write the nicer code. For example: