3 ms·
I think C# creates a state machine for every async/await method that is compiles which keeps track of where it is at after every await and invokes the next piec
by akra 8y ago
I think C# creates a state machine for every async/await method that is compiles which keeps track of where it is at after every await and invokes the next piece of code based on that.
Also I thought async/await came in F# first? According to wikipedia async/await came in 2010 (F# 2.0) and then was added in C# 5.0 two years later.