Skip to content

Commit

Permalink
Sync implementation of HttpSource
Browse files Browse the repository at this point in the history
  • Loading branch information
AntsyLich committed Jan 27, 2025
1 parent d5de7a7 commit 352543b
Show file tree
Hide file tree
Showing 3 changed files with 183 additions and 223 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,8 @@ interface Source {
*
* @param chapter the chapter.
*/
suspend fun getPageList(chapter: SChapter): List<Page> = throw RuntimeException("Stub!")
@Suppress("DEPRECATION")
suspend fun getPageList(chapter: SChapter): List<Page> = fetchPageList(chapter).awaitSingle()

override fun toString(): String

Expand Down
Loading

0 comments on commit 352543b

Please sign in to comment.