Interface SyncPoller<T,​U>

  • Type Parameters:
    T - The type of poll response value.
    U - The type of the final result of long-running operation.

    public interface SyncPoller<T,​U>
    A type that offers API that simplifies the task of executing long-running operations against an Azure service.

    It provides the following functionality:

    • Querying the current state of the long-running operation.
    • Requesting cancellation of long-running operation, if supported by the service.
    • Fetching final result of long-running operation, if supported by the service.
    • Wait for long-running operation to complete, with optional timeout.
    • Wait for long-running operation to reach a specific state.