# Asynchronous Blocks within Loops

**URL:** <https://community.thunkable.com/t/asynchronous-blocks-within-loops/33524>\
**Category:** Questions about Thunkable X\
**Tags:** loops, asynchronous, realtimedb, hints\
**Created:** [June 28, 2018, 6:47pm UTC](https://community.thunkable.com/t/asynchronous-blocks-within-loops/33524 "2018-06-28T18:47:58Z")\
**Posts on this page:** 2\
**Page:** 2

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [October 27, 2021, 7:17am UTC](https://community.thunkable.com/t/asynchronous-blocks-within-loops/33524/21 "2021-10-27T07:17:08Z")

</div>

I would not expect that to work. Again, you’re setting variable values within a section of blocks that may run BEFORE your API call finishes.

 ![a84ea4c5e91efe32cf379ea8c2cc5b653b981ddf](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/f/1/f1d669426f7552b88d12fd224a353aa7f158982e.png)

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 11:55am UTC](https://community.thunkable.com/t/asynchronous-blocks-within-loops/33524/22 "2024-11-08T11:55:17Z")

</div>



[Previous page](https://community.thunkable.com/t/asynchronous-blocks-within-loops/33524.md?page=1)
