Table of Contents

Struct StreamYieldInstructionAwaiter

public readonly struct StreamYieldInstructionAwaiter : ICriticalNotifyCompletion, INotifyCompletion
Implements
Inherited Members
Extension Methods

Properties

IsCompleted

public bool IsCompleted { get; }

Property Value

bool

Methods

GetResult()

public void GetResult()

OnCompleted(Action)

Schedules the continuation action that's invoked when the instance completes.

public void OnCompleted(Action continuation)

Parameters

continuation Action

The action to invoke when the operation completes.

Exceptions

ArgumentNullException

The continuation argument is null (Nothing in Visual Basic).

UnsafeOnCompleted(Action)

Schedules the continuation action that's invoked when the instance completes.

public void UnsafeOnCompleted(Action continuation)

Parameters

continuation Action

The action to invoke when the operation completes.

Exceptions

ArgumentNullException

The continuation argument is null (Nothing in Visual Basic).