Skip to main content
↑
↓
Spherical forums
Community for the
Sphere game engine
New?
Contact Us
to register an account!
1 Hour
1 Day
1 Week
1 Month
Forever
Community
Help
Search
Recent Posts
Log in
Contact Us
News
Spherical
Facebook
-
Twitter
-
Discord chat
New?
Contact us
to register an account!
Creations
Programming
C# await/async: This is great
1
Print
Topic: C# await/async: This is great
(Read 3865 times)
previous topic
-
next topic
0 Members and 1 Guest are viewing this topic.
Fat Cerberus
Big Chungus
Posts: 2,774
*MUNCH*
Logged
Global Moderator
Sphere Developer
C# await/async: This is great
August 08, 2015, 10:28:46 pm
So I recently discovered
async
/
await
in C#:
https://msdn.microsoft.com/en-us/library/vstudio/Hh191443%28v=VS.110%29.aspx
async
is a modifier specifying a function which runs in a separate thread, and you use the
await
operator to pause execution of that method until the called method returns. It's basically like what a Promise is in JS, but better integrated because it's part of the language. C# is awesome.
neoSphere 5.9.2
-
neoSphere
engine -
Cell
compiler -
SSj
debugger
forum thread
|
on GitHub
1
Print
Creations
Programming
C# await/async: This is great