mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-22 09:32:52 +02:00
Refactor next() -> nextBatch()
This commit is contained in:
@@ -48,7 +48,7 @@ final class PollHistoryService: PollHistoryServiceProtocol {
|
||||
setup(timeline: timeline)
|
||||
}
|
||||
|
||||
func next() -> AnyPublisher<TimelinePollDetails, Error> {
|
||||
func nextBatch() -> AnyPublisher<TimelinePollDetails, Error> {
|
||||
currentBatchSubject?.eraseToAnyPublisher() ?? startPagination()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user