Share via


Awaitable.FromItem<T>(T) Method

Definition

Wraps item in a IAwaitable<T>.

public static Microsoft.Bot.Builder.Dialogs.IAwaitable<T> FromItem<T> (T item);
static member FromItem : 'T -> Microsoft.Bot.Builder.Dialogs.IAwaitable<'T>
Public Shared Function FromItem(Of T) (item As T) As IAwaitable(Of T)

Type Parameters

T

Type of the item.

Parameters

item
T

The item that will be wrapped.

Returns

Applies to