1 min readFeb 4, 2020
Yes, or even better, using some abstraction that allows you to run two computations in parallel and get their results, while also properly handling errors/exceptions and interruption/cancellation. See also the notes on structured concurrency, which are about such situations.