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.
tatiang
21
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Wrapping Asynchronous (then do) blocks into a Synchronous Function resolves unpredictable results | 5 | 1701 | April 23, 2021 | |
| Is there ASYNC & AWAIT in thunkable? | 3 | 786 | July 31, 2020 | |
| Returning values in functions that use asynchronous blocks | 5 | 1017 | June 8, 2020 | |
| Asynchronous processing Issue | 3 | 606 | August 9, 2022 | |
| What 'Code' is executed at what time? | 7 | 736 | January 8, 2021 |
