Skip to content
New issue

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

Setup cancellation eagerly in suspendCancellableCoroutine to properly… #1680

Merged
merged 1 commit into from Apr 27, 2020

Conversation

qwwdfsad
Copy link
Member

… integrate with APIs that may block the current thread, but react on cancellation

Fixes #1671

@qwwdfsad
Copy link
Member Author

Though this change can potentially change behaviour of other libraries (such as retrofit), so I'd postpone it until 1.4

@qwwdfsad qwwdfsad force-pushed the develop branch 3 times, most recently from 4a49830 to aff8202 Compare March 10, 2020 17:27
@qwwdfsad qwwdfsad removed the For 1.4 label Apr 27, 2020
… integrate with APIs that may block the current thread, but react on cancellation

Fixes #1671
@qwwdfsad qwwdfsad merged commit cd5ab49 into develop Apr 27, 2020
@qwwdfsad qwwdfsad deleted the setup-cancellation-eagerly branch April 27, 2020 18:12
recheej pushed a commit to recheej/kotlinx.coroutines that referenced this pull request Dec 28, 2020
… integrate with APIs that may block the current thread, but react on cancellation (Kotlin#1680)

Fixes Kotlin#1671
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants