Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use await instead of TaskCompletionSource in AsyncExecution #2320

Merged
merged 8 commits into from
Mar 23, 2022

Conversation

drwill-ms
Copy link
Contributor

@drwill-ms drwill-ms commented Mar 17, 2022

Got rid of existing implementation of AsyncExecution and AsyncExecution. Instead of using TaskCompletionSource and Task.ContinueWith, we just await the task and handle retries in a loop.

@drwill-ms
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@drwill-ms drwill-ms force-pushed the drwill/asyncexecution-rewrite branch from 8cc0bce to 86b5ae9 Compare March 17, 2022 23:54
@drwill-ms drwill-ms force-pushed the drwill/asyncexecution-rewrite branch from 86b5ae9 to cd84c50 Compare March 17, 2022 23:55
@drwill-ms
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@drwill-ms
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@drwill-ms
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@drwill-ms drwill-ms force-pushed the drwill/asyncexecution-rewrite branch from 3d31d32 to 1e10712 Compare March 18, 2022 20:49
@drwill-ms
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@drwill-ms drwill-ms force-pushed the drwill/asyncexecution-rewrite branch from 1e10712 to dc70362 Compare March 18, 2022 21:27
@drwill-ms drwill-ms force-pushed the drwill/asyncexecution-rewrite branch from dc70362 to 1c6fb72 Compare March 19, 2022 00:23
@drwill-ms
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Member

@abhipsaMisra abhipsaMisra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@drwill-ms
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@drwill-ms
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@drwill-ms drwill-ms force-pushed the drwill/asyncexecution-rewrite branch from 7fe5af1 to fda3770 Compare March 23, 2022 21:08
@drwill-ms
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@drwill-ms drwill-ms enabled auto-merge (squash) March 23, 2022 22:14
@drwill-ms drwill-ms merged commit 091b474 into main Mar 23, 2022
@drwill-ms drwill-ms deleted the drwill/asyncexecution-rewrite branch March 23, 2022 22:14
timstewartm pushed a commit to timstewartm/azure-iot-sdk-csharp that referenced this pull request May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants