We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We have continueWith and continueOnSuccessWith, but we don't have continueOnError, which would be very helpful for explicit error handling.
continueWith
continueOnSuccessWith
continueOnError
This issue is for implementing an enhancement on Task with 2 new methods:
Task
continueOnErrorWith<T>(executor: Executor = .Default, continuation: (ErrorType -> T throws)) -> Task<T>
continueOnErrorWithTask<T>(executor: Executor = .Default, continuation: (ErrorType -> Task<T> throws)) -> Task<T>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
We have
continueWith
andcontinueOnSuccessWith
, but we don't havecontinueOnError
, which would be very helpful for explicit error handling.This issue is for implementing an enhancement on
Task
with 2 new methods:continueOnErrorWith<T>(executor: Executor = .Default, continuation: (ErrorType -> T throws)) -> Task<T>
continueOnErrorWithTask<T>(executor: Executor = .Default, continuation: (ErrorType -> Task<T> throws)) -> Task<T>
The text was updated successfully, but these errors were encountered: