Skip to content

Instantly share code, notes, and snippets.

@daanl
Created May 28, 2013 07:27
Show Gist options
  • Save daanl/5661060 to your computer and use it in GitHub Desktop.
Save daanl/5661060 to your computer and use it in GitHub Desktop.
public class ActionRunner
{
public void Run(Action action)
{
action();
}
}
ActionRunner.Run(
async () =>
{
await DoSomeAsync();
}
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment