IFrameLoop<C>.PollAsync(IFiber<C>, C, CancellationToken) 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.
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
- token
- CancellationToken