A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://learn.microsoft.com/en-us/python/api/azure-core/azure.core.polling.lropoller below:

azure.core.polling.LROPoller class | Microsoft Learn

LROPoller Class

Poller for long running operations.

Constructor
LROPoller(client: Any, initial_response: Any, deserialization_callback: Callable[[Any], PollingReturnType_co], polling_method: PollingMethod[PollingReturnType_co])
Parameters Methods add_done_callback

Add callback function to be run once the long running operation has completed - regardless of the status of the operation.

continuation_token

Return a continuation token that allows to restart the poller later.

done

Check status of the long running operation.

from_continuation_token

Create a poller from a continuation token.

polling_method

Return the polling method associated to this poller.

remove_done_callback

Remove a callback from the long running operation.

result

Return the result of the long running operation, or the result available after the specified timeout.

status

Returns the current status string.

wait

Wait on the long running operation for a specified length of time. You can check if this call as ended with timeout with the "done()" method.

add_done_callback

Add callback function to be run once the long running operation has completed - regardless of the status of the operation.

add_done_callback(func: Callable) -> None
Parameters continuation_token

Return a continuation token that allows to restart the poller later.

continuation_token() -> str
Returns done

Check status of the long running operation.

done() -> bool
Returns from_continuation_token

Create a poller from a continuation token.

from_continuation_token(polling_method: PollingMethod[PollingReturnType_co], continuation_token: str, **kwargs: Any) -> LROPoller[PollingReturnType_co]
Parameters Returns Exceptions polling_method

Return the polling method associated to this poller.

polling_method() -> PollingMethod[PollingReturnType_co]
Returns remove_done_callback

Remove a callback from the long running operation.

remove_done_callback(func: Callable) -> None
Parameters Exceptions result

Return the result of the long running operation, or the result available after the specified timeout.

result(timeout: float | None = None) -> PollingReturnType_co
Parameters Returns Exceptions status

Returns the current status string.

status() -> str
Returns wait

Wait on the long running operation for a specified length of time. You can check if this call as ended with timeout with the "done()" method.

wait(timeout: float | None = None) -> None
Parameters Exceptions

Collaborate with us on GitHub

The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide. In this article

Was this page helpful?


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4