优化
This commit is contained in:
@@ -354,7 +354,8 @@ object CacheBook {
|
|||||||
book,
|
book,
|
||||||
chapter,
|
chapter,
|
||||||
start = CoroutineStart.LAZY,
|
start = CoroutineStart.LAZY,
|
||||||
executeContext = IO
|
executeContext = IO,
|
||||||
|
semaphore = semaphore
|
||||||
).onSuccess { content ->
|
).onSuccess { content ->
|
||||||
onSuccess(chapter)
|
onSuccess(chapter)
|
||||||
ReadBook.downloadedChapters.add(chapter.index)
|
ReadBook.downloadedChapters.add(chapter.index)
|
||||||
|
|||||||
Reference in New Issue
Block a user