-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Waiting for multiple blocs #762
Comments
Hi @payam-zahedi 👋 Regarding In your case you have several options:
Hope that helps 👍 |
dear @felangel , thanks for your useful response. |
Can we have some examples please? |
@urusai88 I've created a sample gist. Please let me know if that helps 👍 |
@felangel thanks you very much! It is what we need i think.
|
@urusai88 no problem here's a sample gist which shows how you can composed streams within a bloc. In this case it's obviously a bit weird because the bloc is just a proxy but normally you'd execute some sort of logic/processing on the data from the streams and output a normalized view model for the UI to consume. Hope that helps! |
Hi @felangel , thanks for this awesome library.
I have the below situation:
imagine I have a Splash screen that waited for cart bloc and the favorite bloc.
I just want to get the cart information and the favorite products and if everything was ok push the user to the next screen. if some error received I want to show error and retry button.
I think MultiBlocBuilder would be great for this situation. but there is no MultiBlocBuilder.
can u give me a solution for that?
The text was updated successfully, but these errors were encountered: