match
fun <V, W> Future<V>.match(success: (V) -> W, failure: (Throwable) -> W): W
Invoke getOrThrow and pass the value/throwable to success/failure respectively.