mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-22 01:22:46 +02:00
Cleanup unused code
This commit is contained in:
@@ -21,13 +21,9 @@ protocol PollHistoryServiceProtocol {
|
||||
/// Implementations should return the same publisher if `nextBatch()` is called again before the previous publisher completes.
|
||||
func nextBatch() -> AnyPublisher<TimelinePollDetails, Error>
|
||||
|
||||
/// Publishes updates for the polls previously pusblished by the `nextBatch()` publishers.
|
||||
/// Publishes updates for the polls previously pusblished by the `nextBatch()` or `livePolls` publishers.
|
||||
var updates: AnyPublisher<TimelinePollDetails, Never> { get }
|
||||
|
||||
/// Publishes errors regarding poll aggregations.
|
||||
/// Note: `nextBatch()` will continue to publish new polls even if some poll isn't being aggregated correctly.
|
||||
var pollErrors: AnyPublisher<Error, Never> { get }
|
||||
|
||||
/// Publishes live polls not related with the current batch.
|
||||
var livePolls: AnyPublisher<TimelinePollDetails, Never> { get }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user