Share via


AsyncTextAnalysisLROPoller Class

Implements a protocol which returned poller objects are consistent with.

Constructor

AsyncTextAnalysisLROPoller(*args, **kwargs)

Methods

cancel

Cancel the operation currently being polled.

continuation_token

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

done

Check status of the long running operation.

result

Return the result of the long running operation.

status

Returns the current status string.

wait

Wait on the long running operation.

cancel

Cancel the operation currently being polled.

async cancel() -> None

Returns

Type Description

None

Exceptions

Type Description

When the operation has already reached a terminal state.

continuation_token

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

continuation_token() -> str

Returns

Type Description
str

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'.

result

Return the result of the long running operation.

async result() -> PollingReturnType_co

Returns

Type Description

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
str

The current status string

wait

Wait on the long running operation.

async wait() -> None

Exceptions

Type Description

Server problem with the query.

Attributes

details

Long-running operation metadata.

Returns

Type Description

A mapping of details about the long-running operation.