Created
September 14, 2015 20:57
-
-
Save voided/4dbb78bf4e4e6d78254c to your computer and use it in GitHub Desktop.
Awaitable jobs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static async void OnLoggedOn( SteamUser.LoggedOnCallback callback ) | |
{ | |
var query = new SteamMasterServer.QueryDetails | |
{ | |
// ... | |
}; | |
SteamMasterServer.QueryCallback result = await steamGms.ServerQuery( query ); | |
// do whatever | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment