Awaitable.FromItem<T>(T) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.