Share via


IEventLoop.PollAsync(CancellationToken) Method

Definition

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.

Applies to