AwaitableFromItem<T> Class

Definition

Creates a IAwaitable<T> from item passed to constructor.

public sealed class AwaitableFromItem<T> : Microsoft.Bot.Builder.Dialogs.IAwaitable<T>, Microsoft.Bot.Builder.Internals.Fibers.IAwaiter<T>, System.Runtime.CompilerServices.INotifyCompletion
type AwaitableFromItem<'T> = class
    interface IAwaitable<'T>
    interface IAwaiter<'T>
    interface INotifyCompletion
Public NotInheritable Class AwaitableFromItem(Of T)
Implements IAwaitable(Of T), IAwaiter(Of T), INotifyCompletion

Type Parameters

T

The type of the item.

Inheritance
AwaitableFromItem<T>
Implements

Constructors

AwaitableFromItem<T>(T)

Explicit Interface Implementations

IAwaitable<T>.GetAwaiter()
IAwaiter<T>.GetResult()
IAwaiter<T>.IsCompleted
INotifyCompletion.OnCompleted(Action)

Extension Methods

ToTask<T>(IAwaitable<T>)

Applies to