Skip to content

Instantly share code, notes, and snippets.

@NMZivkovic
Created June 10, 2018 12:02
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 NMZivkovic/cbac6d33cfca408b2867dd5634782e64 to your computer and use it in GitHub Desktop.
Save NMZivkovic/cbac6d33cfca408b2867dd5634782e64 to your computer and use it in GitHub Desktop.
class AsynchronousThing<T> : IThing<T>
{
public ValueTask<T> DoTheThingAsync()
{
var value = default(T);
await Task.Delay(100);
return new ValueTask<T>(value);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment