Skip to content

Instantly share code, notes, and snippets.

@MaxMichel2
Last active October 2, 2024 16:35
Show Gist options
  • Save MaxMichel2/5998df3e7a55fa1cf0e3e100c30813bc to your computer and use it in GitHub Desktop.
Save MaxMichel2/5998df3e7a55fa1cf0e3e100c30813bc to your computer and use it in GitHub Desktop.
class GetForYouDataUseCase @Inject constructor(
private val topicsRepository: TopicsRepository,
private val newsRepository: NewsRepository,
@IoDispatcher private val dispatcher: CoroutineDispatcher
) : FlowUseCase<Unit, GetForYouDataSuccess, GetForYouDataErrors>(dispatcher) {
// Implementation will be detailed further below
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment