Is there an equivalent to Lua’s lua_yield when using CS-Script, to pause a script, and continue later, once you have the required data? An example could be a script, that calls a yes or no function, and the answer has to be received over network from a client first.
Is there an equivalent to Lua’s lua_yield when using CS-Script, to pause a script,
Share
We are adding that feature to C# 5, which is in beta right now.
You can read about it here:
http://msdn.microsoft.com/en-us/async