A brilliant way to compile c# code in memory and of course how to use/implement the C# Wait command in maxscript

A brilliant way to compile c# code in memory and of course how to use/implement the C# Wait command in maxscript.

— from the article:
What’s Async/Await?
First of all, what does async/await do? It lets you set up a task, have that task do something (async) and continue with other stuff while that task is still working. In the mean time, you can expect the results from that task to come back to you (await). It’s like cooking. You put the water on and at the same time you cut the vegetables. But because you need to water to be boiling before you put the vegetables in, you wait for the water.
… read the rest here
Link to article and example code