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 ??