GetEventListUseCase

class GetEventListUseCase(eventRepository: DiscoveryEventService, eventListMapper: EventListMapper, coroutineDispatcher: CoroutineDispatcher) : SuspendUseCase<GetDiscoveryEventSearchParams, List<DiscoveryEvent>>

Retrieves a list of events for the Discovery API.

Fetches DiscoveryEvent objects based on search parameters.

Parameters

eventRepository

Service for fetching event details.

eventListMapper

Maps event responses to DiscoveryEvent list.

coroutineDispatcher

Dispatcher for coroutine execution.

Constructors

Link copied to clipboard
constructor(eventRepository: DiscoveryEventService, eventListMapper: EventListMapper, coroutineDispatcher: CoroutineDispatcher)

Functions

Link copied to clipboard

Executes the use case with the given parameter.