# When do Spark.functions run

**URL:** <https://community.particle.io/t/when-do-spark-functions-run/9244>\
**Category:** General\
**Created:** [January 9, 2015, 1:11am UTC](https://community.particle.io/t/when-do-spark-functions-run/9244 "2015-01-09T01:11:24Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![harrisonhjones](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/harrisonhjones/32/4132_2.png) [@harrisonhjones](https://community.particle.io/u/harrisonhjones)\
**Post date:** [January 9, 2015, 2:47am UTC](https://community.particle.io/t/when-do-spark-functions-run/9244/2 "2015-01-09T02:47:42Z")

</div>

At the end of loop() a bunch of other functions are called which maintain the connection to the cloud and handle things like Spark.Function(). Once that’s over loop() is called again. Make sense?

---

_[View the full topic](https://community.particle.io/t/when-do-spark-functions-run/9244)._
