Add doc string
This commit is contained in:
parent
657f1cf65f
commit
f46f9ecec3
@ -28,6 +28,14 @@ class SyncChaptersWithSource(
|
|||||||
private val getChapterByMangaId: GetChapterByMangaId = Injekt.get(),
|
private val getChapterByMangaId: GetChapterByMangaId = Injekt.get(),
|
||||||
) {
|
) {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Method to synchronize db chapters with source ones
|
||||||
|
*
|
||||||
|
* @param rawSourceChapters the chapters from the source.
|
||||||
|
* @param manga the manga the chapters belong to.
|
||||||
|
* @param source the source the manga belongs to.
|
||||||
|
* @return Newly added chapters
|
||||||
|
*/
|
||||||
suspend fun await(
|
suspend fun await(
|
||||||
rawSourceChapters: List<SChapter>,
|
rawSourceChapters: List<SChapter>,
|
||||||
manga: Manga,
|
manga: Manga,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user