Coroutine API deprecation as of v.0.23.0
See original GitHub issueThe current version of Fuel relies on Kotlin coroutines 0.22.5, the latest being 0.23.4 as of writing.
0.23.0 brought some quite big changes and Fuel will currently break when using this version.
https://github.com/Kotlin/kotlinx.coroutines/blob/master/CHANGES.md#version-0230
In Coroutines.kt
we make use of CancellableContinuation.invokeOnCompletion
which is now deprecated (interestingly on my machine this method no longer exists). It sounds like the semantics surrounding this were changed anyway which may be causing other issues.
From the docs it looks like it needs to be replaced with invokeOnCancellation
instead. There are a few other outstanding issues raised for coroutines so maybe we can merge this in with one of those.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Coroutine API deprecation as of v.0.23.0 · Issue #368 · kittinunf/fuel ...
In Coroutines.kt we make use of CancellableContinuation.invokeOnCompletion which is now deprecated (interestingly on my machine this method no longer exists).
Read more >Change log for kotlinx.coroutines - GitHub
The old API is deprecated for removal, but the new API is based on the similar ... Version 0.23.0 * Kotlin 1.2.41 *...
Read more >Changelog — apispec 6.0.2 documentation
This is deprecated since marshmallow 3.10. apispec is still compatible with marshmallow >=3,<3.10 but tests now require marshmallow >=3.10. (#675) ...
Read more >eventlet - PyPI
It uses epoll or libevent for highly scalable non-blocking I/O. Coroutines ensure that the developer uses a ... https://img.shields.io/pypi/v/eventlet ...
Read more >Changelog — Zeep 4.1.0 documentation
Add support for tornado async transport via gen.coroutine (#530, ... Refactor the implementation of wsdl:arrayType too make the API more pythonic (backwards ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@raharrison I am working on a PR as you know I am happy to make these changes in the pr
Closed by #369