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) -> Tuple[Any, Any, Callable]

參數

continuation_token
必要

get_continuation_token

get_continuation_token() -> str

initialize

initialize(client: Any, initial_response: Any, deserialization_callback: Any) -> None

參數

client
必要
initial_response
必要
deserialization_callback
必要

resource

resource() -> PollingReturnType

run

async run() -> None

status

status() -> str