# What 'Code' is executed at what time?

**URL:** <https://community.thunkable.com/t/what-code-is-executed-at-what-time/1042381>\
**Category:** Questions about Thunkable X\
**Created:** [January 8, 2021, 4:54pm UTC](https://community.thunkable.com/t/what-code-is-executed-at-what-time/1042381 "2021-01-08T16:54:53Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![drted](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/drted/32/92694_2.png) [@drted](https://community.thunkable.com/u/drted)\
**Post date:** [January 8, 2021, 5:04pm UTC](https://community.thunkable.com/t/what-code-is-executed-at-what-time/1042381/2 "2021-01-08T17:04:02Z")

</div>

Check out this discussion on asynchronous processing in Thunkable.

> [@Wrapping Asynchronous (then do) blocks into a Synchronous Function resolves unpredictable results](http://community.thunkable.com/t/wrapping-asynchronous-then-do-blocks-into-a-synchronous-function-resolves-unpredictable-results/910511):
>
> Thunkable provides an extensive library of calls to external services including Google Docs and Web APIs. These external calls are, by necessity, asynchronous calls. That is, the request is sent to the external serivce, Thunkable block execution continues on it’s merry way, then the external service sends a reply. Thunkable wraps the external calls in in blocks with “Then Do” sections. This is a massive improvement over separate call and response block (MIT App Inventor), but it is not without …

---

_[View the full topic](https://community.thunkable.com/t/what-code-is-executed-at-what-time/1042381)._
