Refactor next() -> nextBatch()

This commit is contained in:
Alfonso Grillo
2023-01-24 10:46:38 +01:00
parent 7a5a5f4c93
commit 865f2c5245
5 changed files with 13 additions and 13 deletions
@@ -48,7 +48,7 @@ final class PollHistoryService: PollHistoryServiceProtocol {
setup(timeline: timeline)
}
func next() -> AnyPublisher<TimelinePollDetails, Error> {
func nextBatch() -> AnyPublisher<TimelinePollDetails, Error> {
currentBatchSubject?.eraseToAnyPublisher() ?? startPagination()
}
}