At the moment, functions like awaitAll and others throw an exception if they are canceled by a cancellation token. This behavior leads to a situation where, even if we have a partial result, we cannot analyze it.
However, it’s often useful to be able to analyze the partial result while still stopping the operation.
Task: we need to change the behavior so that instead of throwing an exception, a third parameter is returned.