-
Notifications
You must be signed in to change notification settings - Fork 307
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
Work manager task cancellation listener #245
Comments
In the WorkManager docs, we can see for
This should be the signal to bring back to the UI. I will look how to make it available on the Dart side. |
any updates?? |
any updates? |
I have some cross-isolate communication and i need to de-register in but when task gets cancelled, my Isolate is killed instantly (at least that's what i think is happening) and i get no chance to know about this 🤷 I know this may add some complexity - "how much timeout to give to the Dart side before killing everything", instead of just |
and DO NOT cancel all tasks but just nicely wait until they finish, since it caused more trouble (maybe because of fluttercommunity/flutter_workmanager#245 not being implemented)
I have added the Network policy in the work manager. When a worker is running, I am updating the UI to a loading state in the callback dispatcher. But when the internet is gone, the task is automatically canceled, with no callback. Any idea what can I do?
The text was updated successfully, but these errors were encountered: