AnalyzeTextAsyncLROPoller Class
Custom async poller that returns PollingReturnType_co and exposes operation metadata.
Constructor
AnalyzeTextAsyncLROPoller(*args: Any, **kwargs: Any)
Methods
| continuation_token |
Return a continuation token that allows to restart the poller later. |
| done |
Check status of the long running operation. |
| from_continuation_token | |
| polling_method |
Return the polling method associated to this poller. |
| result |
Return the result of the long running operation. |
| status |
Returns the current status string. |
| wait |
Wait on the long running operation. |
continuation_token
Return a continuation token that allows to restart the poller later.
continuation_token() -> str
Returns
| Type | Description |
|---|---|
|
An opaque continuation token |
done
Check status of the long running operation.
done() -> bool
Returns
| Type | Description |
|---|---|
|
'True' if the process has completed, else 'False'. |
from_continuation_token
from_continuation_token(polling_method: AsyncPollingMethod[PollingReturnType_co], continuation_token: str, **kwargs: Any) -> AnalyzeTextAsyncLROPoller[PollingReturnType_co]
Parameters
| Name | Description |
|---|---|
|
polling_method
Required
|
|
|
continuation_token
Required
|
|
polling_method
Return the polling method associated to this poller.
polling_method() -> AsyncPollingMethod[PollingReturnType_co]
Returns
| Type | Description |
|---|---|
|
The polling method associated to this poller. |
result
Return the result of the long running operation.
async result() -> PollingReturnType_co
Returns
| Type | Description |
|---|---|
|
any,
|
The deserialized resource of the long running operation, if one is available. |
Exceptions
| Type | Description |
|---|---|
|
Server problem with the query. |
status
Returns the current status string.
status() -> str
Returns
| Type | Description |
|---|---|
|
The current status string |
wait
Wait on the long running operation.
async wait() -> None
Exceptions
| Type | Description |
|---|---|
|
Server problem with the query. |