Skip to content

Instantly share code, notes, and snippets.

@NMZivkovic
Created October 21, 2017 10:45
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save NMZivkovic/6c6708c8c3dd2f05091faed9477c14b5 to your computer and use it in GitHub Desktop.
using await (var disposableEntity = parent.Start())
{
// do important work
disposableEntity.SomeFunction();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment