Skip to content

Instantly share code, notes, and snippets.

@NMZivkovic
Created June 10, 2018 11:18
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/f9c8176be10d38bc732f859a46c6946b to your computer and use it in GitHub Desktop.
Save NMZivkovic/f9c8176be10d38bc732f859a46c6946b to your computer and use it in GitHub Desktop.
public ValueTask(TResult result);
public ValueTask(Task<TResult> task);
public static implicit operator ValueTask<TResult>(Task<TResult> task);
public static implicit operator ValueTask<TResult>(TResult result);
public Task<TResult> AsTask();
public bool IsCompletedSuccessfully { get; }
public TResult Result { get; }
public ValueTaskAwaiter GetAwaiter();
public ValueTaskAwaiter ConfigureAwait(bool continueOnCapturedContext);
// ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment