Skip to content

Instantly share code, notes, and snippets.

@wellingtoncosta
Created February 12, 2019 15:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wellingtoncosta/2d9362903fca557643908d1492121b90 to your computer and use it in GitHub Desktop.
Save wellingtoncosta/2d9362903fca557643908d1492121b90 to your computer and use it in GitHub Desktop.
interface UserRepository {
suspend fun getAll(): Deferred<List<User>>
suspend fun getByUsername(username: String): Deferred<User>
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment