Skip to content

Conversation

@LarryOsterman
Copy link
Member

Removed custom code from create_certificate API code and moved the corresponding logic into the Poller.

This involved adding an additional parameter to the callback for Poller::with_callback that provides the ctx used for the pipeline.

Bonus: Instead of using a tuple to maintain the state of the "stream" created by the Poller, encapsulate the state in a structure to make it easier to modify the state of the "stream" moving forward (when there were 3 fields in the state, it wasn't a huge deal, but with 5 fields, it was getting unwieldy).

NOTE: This is still a draft PR, the next step is to work on similar changes for pagers.

@github-actions
Copy link

API Change Check

APIView identified API level changes in this PR and created the following API reviews

azure_core

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Azure.Core The azure_core crate KeyVault Key Vault

Projects

Status: Untriaged

Development

Successfully merging this pull request may close these issues.

1 participant