-
-
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
docs: sorry in advance #3935
Comments
@axroromonov regarding the Regarding the canceling of the call to the several services, you should think of some logic to cancel those request independently and then handling the canceling on the close function of the bloc. There is a feature request from 2021 talking about canceling all pending asynchronous operation on bloc close, you can read more about it in #3069. |
I'm just looking for a way to exit the page other than dispose via block , or block.close(); is it enough for me? |
@axroromonov when you pop a page (unmount a widget) that contains a Closing for now but feel free to comment with additional questions and I'm happy to continue the conversation 👍 |
I want to kill the Flutter Bloc when it leaves the page. My request takes a long time (it goes to several services), the user can back it up without a response, and even before it reaches some services, is there another way for me to dispose? thanks in advance for the reply
The text was updated successfully, but these errors were encountered: