This repository has been archived on 2024-06-08. You can view files and clone it, but cannot push or open issues or pull requests.
tachiyomi/app
Two-Ai e4bc8990fb
Replace RxJava in HttpPageLoader downloader (#8955)
* Convert downloader Observable to flow

Uses `runInterruptible` to turn the blocking call to `queue.take()`
into a cancellable call.

Flow collection is ended by cancelling the scope in `recycle`. This
means the `HttpPageLoader` can't be reused after calling `recycle`,
but this was true with the `Observable` as well.)

* Convert load Observables to suspending function

Inlining the Observables allows for some simplification of the error
handling. Behavior should be otherwise identical.

* Convert cleanup Completable to coroutine

Uses global `launchIO`, not ideal but similar to previous behavior.
Can't be scheduled on the local `scope` as this runs after `scope` is
cancelled.
2023-01-21 16:46:16 -05:00
..
src Replace RxJava in HttpPageLoader downloader (#8955) 2023-01-21 16:46:16 -05:00
.gitignore
build.gradle.kts Move SQLDelight to data module (#8954) 2023-01-21 10:37:07 -05:00
proguard-android-optimize.txt Adjust R8 optimization configs to fix extension issues 2022-05-26 19:41:43 -04:00
proguard-rules.pro Update Proguard rules to handle serializers in all modules 2022-10-01 10:47:45 -04:00
shortcuts.xml Remove more unused strings 2021-05-30 11:10:16 -04:00