Skip to content

Instantly share code, notes, and snippets.

@embarq
Created June 18, 2016 23:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save embarq/31bd8c05f266c08037cfede0263da6fe to your computer and use it in GitHub Desktop.
Save embarq/31bd8c05f266c08037cfede0263da6fe to your computer and use it in GitHub Desktop.
.Net async
var request = service.Spreadsheets.Get(sheet_id);
var response = request.ExecuteAsync();
response.Wait(new CancellationToken(response.IsCompleted));
Console.WriteLine("Async request complited.");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment