diff options
author | Lidi Zheng <lidiz@google.com> | 2020-06-02 15:06:04 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-02 22:06:04 +0000 |
commit | dd9b2f38a70e85952cc05552ec8070cdf29ddbb4 (patch) | |
tree | 91de6df237390c1c3fb1588fa6fd06b8707d9113 /docs/operation.rst | |
parent | 7be1e59e9d75c112f346d2b76dce3dd60e3584a1 (diff) | |
download | python-api-core-dd9b2f38a70e85952cc05552ec8070cdf29ddbb4.tar.gz |
feat: AsyncIO Integration [Part 2] (#28)
Children PR of https://github.com/googleapis/python-api-core/pull/26.
This PR includes AsyncIO version of:
* Polling future
* Page iterator
The AsyncIO version of polling future still uses the same mechanism as the sync version. The AsyncIO polling future tries to update its own state whenever the application want to access information or perform actions.
For page iterator, it has similar interface design as sync version. But instead of fulfilling normal generator protocol, it is based on the async generator.
Related #23
Diffstat (limited to 'docs/operation.rst')
-rw-r--r-- | docs/operation.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/operation.rst b/docs/operation.rst index c5e6766..492cf67 100644 --- a/docs/operation.rst +++ b/docs/operation.rst @@ -4,3 +4,10 @@ Long-Running Operations .. automodule:: google.api_core.operation :members: :show-inheritance: + +Long-Running Operations in AsyncIO +------------------------------------- + +.. automodule:: google.api_core.operation_async + :members: + :show-inheritance: |