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
This is a simple extension, I found verbose to write cancel(CancellationException("socket closed", ioException))
cancel(CancellationException("socket closed", ioException))
So I propose to consider something like cancel("socket closed", ioException)
cancel("socket closed", ioException)
public inline fun CoroutineScope.cancel(description: String, cause: Throwable? = null) { cancel(CancellationException(description, cause)) }
This function is similar to deprecated: cancel(Trowable?)
cancel(Trowable?)
The text was updated successfully, but these errors were encountered:
Cancel extensions for CoroutineScope and Job
456a2ef
Fixes #1338
fe41869
No branches or pull requests
This is a simple extension, I found verbose to write
cancel(CancellationException("socket closed", ioException))
So I propose to consider something like
cancel("socket closed", ioException)
This function is similar to deprecated:
cancel(Trowable?)
The text was updated successfully, but these errors were encountered: