Skip to content
This repository has been archived by the owner on Jun 9, 2022. It is now read-only.

How to you guard or guardFuture in case of post or patch call #57

Open
Adiwin opened this issue Jan 27, 2021 · 2 comments
Open

How to you guard or guardFuture in case of post or patch call #57

Adiwin opened this issue Jan 27, 2021 · 2 comments

Comments

@Adiwin
Copy link

Adiwin commented Jan 27, 2021

Suppose there is some get call like this

abstract class NewsRepository {
       Future<Result<News>> getNews(int page, String category, String mode)
}
@zione
Copy link

zione commented Feb 25, 2021

how to resolve

@TheEnsis
Copy link

I need example too.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants