title: Does firebase functions keep running after dissiming a view-controller
body: <p>I am a newbie in iOS development/firebase.
  I have two view controller,
  the first one does nothing expect performing a segue to the second view-controller
  The second the view controller I have two buttons,the firstone is (back) which dismiss a view controller and the second button(up) have the following code
  Database.database().child(“posts”).setValue(1)</p>
  
  <p>1- If I have an extremely bad internet connection, and I pressed on up button then immediately pressed on back,
  Does the code for uploading data for firebase stop on continue?<br>
  2- After pressing up, I immediately go to background and dismiss the app, will it continue setting the data?</p>