Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

does the async operation in flutter still running even when the app is closed or killed off

I want to do some async operations that involve writing to local database only when the state of the app is InActive or Paused but what if the async operation while it is running and suddenly the app is closed

does that operation still working until it finishes it's task or not ??

like image 986
Karrar Avatar asked Nov 06 '22 06:11

Karrar


1 Answers

No Flutter kills the process when you close the app.

Reference : https://medium.com/mindorks/asynchronous-programming-in-dart-flutter-part-1-dde723332698

like image 136
Tonny Bawembye Avatar answered Dec 02 '22 06:12

Tonny Bawembye