Created
January 8, 2021 15:04
-
-
Save ngallazzi/c62c39ee42ecbb446281f3c08237032f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class GetBooksUseCase(private val booksRepository: BooksRepository) { | |
suspend operator fun invoke(author: String) = booksRepository.getRemoteBooks(author) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment