Share via


IFrameLoop<C>.PollAsync(IFiber<C>, C, CancellationToken) Method

Definition

public System.Threading.Tasks.Task<Microsoft.Bot.Builder.Internals.Fibers.IWait<C>> PollAsync (Microsoft.Bot.Builder.Internals.Fibers.IFiber<C> fiber, C context, System.Threading.CancellationToken token);
abstract member PollAsync : Microsoft.Bot.Builder.Internals.Fibers.IFiber<'C> * 'C * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Builder.Internals.Fibers.IWait<'C>>
Public Function PollAsync (fiber As IFiber(Of C), context As C, token As CancellationToken) As Task(Of IWait(Of C))

Parameters

fiber
IFiber<C>
context
C

Returns

Task<IWait<C>>

Applies to