Handle live polls

This commit is contained in:
Alfonso Grillo
2023-01-25 17:52:39 +01:00
parent cddf935fa8
commit 2e3aa18f6c
4 changed files with 67 additions and 5 deletions
@@ -42,6 +42,11 @@ final class MockPollHistoryService: PollHistoryServiceProtocol {
var fetchedUpTo: AnyPublisher<Date, Never> {
fetchedUpToPublisher
}
var livePollsPublisher: AnyPublisher<TimelinePollDetails, Never> = Empty().eraseToAnyPublisher()
var livePolls: AnyPublisher<TimelinePollDetails, Never> {
livePollsPublisher
}
}
private extension MockPollHistoryService {