Share via


TplExtensions.NoThrowValueTaskAwaitable<TResult> Struct

Definition

An awaitable that wraps a ValueTask<TResult> and never throws an exception when waited on.

[System.Runtime.CompilerServices.IsReadOnly]
public readonly struct TplExtensions.NoThrowValueTaskAwaitable<TResult>
[<System.Runtime.CompilerServices.IsReadOnly>]
type TplExtensions.NoThrowValueTaskAwaitable<'Result> = struct
Public Structure TplExtensions.NoThrowValueTaskAwaitable(Of TResult)

Type Parameters

TResult

The type of the result.

Inheritance
TplExtensions.NoThrowValueTaskAwaitable<TResult>
Attributes

Constructors

TplExtensions.NoThrowValueTaskAwaitable<TResult>(ValueTask<TResult>, Boolean)

Initializes a new instance of the TplExtensions.NoThrowValueTaskAwaitable<TResult> struct.

Methods

GetAwaiter()

Gets the awaiter.

Applies to