A result passed to a context's cleanup callbacks, or supplied by a future's .result() method.
You can inspect a Result using functions like isCancel(), isError(), and isValue(). getResult() can be used to unwrap the value or throw the error.
A result passed to a context's cleanup callbacks, or supplied by a future's .result() method.
You can inspect a Result using functions like isCancel(), isError(), and isValue(). getResult() can be used to unwrap the value or throw the error.