-
Notifications
You must be signed in to change notification settings - Fork 316
Cleanup | AsyncHelpers Generic State #3705
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
Open
benrr101
wants to merge
34
commits into
main
Choose a base branch
from
dev/russellben/asynchelper-generic-state
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 19 commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
8383e19
Extract AsyncHelper from SqlUtil.cs into the utilities namespace
benrr101 8119c0c
Add generic ContinueTaskWithState - and it's static the whole way thr…
benrr101 3df7400
Use generic version where not difficult
benrr101 6500240
Add stateful version of CreateContinuationTask
benrr101 f4eea9f
Introduce stateless version that chains into the stateful version
benrr101 8450aaa
Introduce two-generic ContinueTaskWithState
benrr101 547af51
Introduce two-generic CreateContinuationTaskWithState
benrr101 847fd25
Replacing usages that didn't show up before?
benrr101 cb6d1f9
Make non-generic ContinueTaskWithState private, remove exteernal usag…
benrr101 dd48b59
Rewrite CreateContinuationTask
benrr101 5b29b7f
Remove seemingly duplicated CreateContinuationTask overload
benrr101 153b764
Remove the non-generic CreateContinuationTaskWithState overload
benrr101 3584c99
Rewrite SetTimeoutException
benrr101 14fed23
SetTimeoutExceptionWithState
benrr101 7684fe7
Cleanup WaitForCompletion
benrr101 da6ef3c
Add reference to Moq in unit test project
benrr101 f8ccc85
Adding tests
benrr101 45ef372
Removing exception converter from state-less continue task helper
benrr101 0e3250f
Adding null task cases for CreateContinuationTask
benrr101 aabd04f
Migrating SqlHelperTest in functional tests to AsyncHelper in unit tests
benrr101 ba65f50
Address copilot comments, address unobserved exception issue that bre…
benrr101 453197e
Merge branch 'main' into dev/russellben/asynchelper-generic-state
benrr101 db584d7
Addressing a couple bits of PR comments
benrr101 2340c83
Address PR comments
benrr101 e20f118
Merge branch 'main' into dev/russellben/asynchelper-generic-state
benrr101 76770ef
Increase timeout and ensure no stack dives on task completion
benrr101 c7d06b9
*Try*Set everything, add comment as per PR comment
benrr101 2035cf5
Tweak comments, add logging to unovserved exception observation, incr…
benrr101 bbc9193
Fix syntax error
benrr101 3560027
Only trace the event if tracing is enabled (should've read the comments)
benrr101 8ae7470
Merge branch 'main' into dev/russellben/asynchelper-generic-state
benrr101 3f5cfa9
Make sure mockOnCancellation is checked on one test, reorder a couple…
benrr101 10f39c9
Fix tests that don't correspond to their method name
benrr101 e2a1027
Merge branch 'main' into dev/russellben/asynchelper-generic-state
benrr101 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.