New extension needed

Is it feasible to create a new one block extension that executes the timer for given number of milliseconds and than return the control to the calling programm to the next line of programm code?
When its necessary only to wait until , for example, the TableViewer will refresh the table, such new block can be useful.
The usage of normal timer in such cases only complicates the code and this new extension could simplify the code and its understanding.
Is it feasible?

Simple answer: No
Long answer:

Otherwise it would
a) be possible with blocks
b) have been done already

Thanks for this doc The simple Virtual life: A Single Thread of Execution in App Inventor Screens.
Its a pity but its clear

Maybe possible if MIT merge the anonymous procedure, this PR already there for several years, but for some reason, it is not merged.

For example
image

this is implemented on my own server.
this block will call an api and get result async, and the callback procedure will deal with the result, and no need a seperate event block.

1 Like

In the callback, where does locations come from?

result of some http Request.

From TWebAPI?

in this block, yes.

when the http Request get the result, the callback procedure will be called.

1 Like

Your savior has come. It appears that you are looking for an extension that will wait a certain amount of time. It is used to make stuff wait a little bit and then continue whatever you want to continue. here is the aix file
Removed by mod
Jk it is 5.8 kb lol

Please, don't post aix that you did not make directly. I removed it. Point to the page/topic of the developer where you found them.

Did you notice that the topic was already a year old?

1 Like

Yes indeed. I did know it was over 1 year. The link thing was not working, so I linked the file.

And where is the link, page/topic?

Wait tool - MIT App Inventor Extensions
This waits for the specified amount of time, and then continues the code.

1 Like

read the last post in the extension topic...

1 Like