AsyncPollingMethod 類別
用於輪詢方法的 ABC 類別。
- 繼承
-
AsyncPollingMethod
建構函式
AsyncPollingMethod()
方法
finished | |
from_continuation_token | |
get_continuation_token | |
initialize | |
resource | |
run | |
status |
finished
finished() -> bool
from_continuation_token
from_continuation_token(continuation_token: str, **kwargs: Any) -> Tuple[Any, Any, Any]
參數
名稱 | Description |
---|---|
continuation_token
必要
|
|
get_continuation_token
get_continuation_token() -> str
initialize
initialize(client: Any, initial_response: Any, deserialization_callback: Any) -> None
參數
名稱 | Description |
---|---|
client
必要
|
|
initial_response
必要
|
|
deserialization_callback
必要
|
|
resource
resource() -> PollingReturnType_co
run
async run() -> None
status
status() -> str