Skip to content

Instantly share code, notes, and snippets.

@mwadams
Created May 22, 2013 22:05
Show Gist options
  • Save mwadams/5631329 to your computer and use it in GitHub Desktop.
Save mwadams/5631329 to your computer and use it in GitHub Desktop.
Example of a RetryTask
ISomeService someTasks = new MyService();
var result = await RetryTask<string>.Factory.StartNew(
() => someTasks.SecondTask(someTasks.FirstTask()), new Count(10));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment