Skip to content

Instantly share code, notes, and snippets.

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