Inject TimelinePollDetails in PollListItem

This commit is contained in:
Alfonso Grillo
2023-01-19 17:10:14 +01:00
parent f78c945507
commit c56d1f3bfe
6 changed files with 131 additions and 83 deletions
@@ -14,6 +14,11 @@
// limitations under the License.
//
import Combine
protocol PollHistoryServiceProtocol {
func fetchHistory() async throws -> [PollListData]
var pollHistory: AnyPublisher<TimelinePollDetails, Never> { get }
var error: AnyPublisher<Error, Never> { get }
func startFetching()
}