tachiyomi/app/src/main/java/eu/kanade
Two-Ai fa61c8fe6f
Convert downloadChapter to suspend function (#9127)
1:1 translation from the RxJava implementation, should match the
previous behavior.

Dropped the return value from functions of the form
```
fun foo(t: T, ...): Observable<T>
```
where the Observable produced the original argument `t`.
The caller already has the result if necessary.

While this conversion is not flow-based overall, some sections use
flows to use the flatMapMerge and retryWhen operators.

Removed RetryWithDelay as it was only used here.

Inlined fetchAllImageUrlsFromPageList instead of converting it to a
suspending equivalent. fetchAllImageUrlsFromPageList is no longer
used in the app, but was not removed as it is part of source-api.
(However, it does not seem to be used exposed in extensions-lib or
used in tachiyomi-extensions.)

runBlocking is used as a temporary stop-gap.
2023-02-21 23:02:10 -05:00
..
core Move CheckboxState to core module 2023-02-21 22:52:36 -05:00
data/source Move more things around 2023-01-27 22:31:12 -05:00
domain Migrate library settings sheet to Compose 2023-02-18 20:55:55 -05:00
presentation Move CheckboxState to core module 2023-02-21 22:52:36 -05:00
tachiyomi Convert downloadChapter to suspend function (#9127) 2023-02-21 23:02:10 -05:00