IEventLoop.PollAsync(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.
Poll the target for any work to be done.
public System.Threading.Tasks.Task PollAsync (System.Threading.CancellationToken token);
abstract member PollAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function PollAsync (token As CancellationToken) As Task
Parameters
- token
- CancellationToken
A cancellation token.
Returns
A task representing the poll operation.