Table of Contents

Struct EventReceiverAwaiter<T>

Namespace
Stride.Engine.Events
Assembly
Stride.Engine.dll
public struct EventReceiverAwaiter<T> : INotifyCompletion

Type Parameters

T
Implements
Inherited Members

Constructors

EventReceiverAwaiter(TaskAwaiter<T>)

public EventReceiverAwaiter(TaskAwaiter<T> task)

Parameters

task TaskAwaiter<T>

Properties

IsCompleted

public bool IsCompleted { get; }

Property Value

bool

Methods

GetResult()

public T GetResult()

Returns

T

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).