Created
June 10, 2018 12:02
-
-
Save NMZivkovic/cbac6d33cfca408b2867dd5634782e64 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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