-
Notifications
You must be signed in to change notification settings - Fork 869
feat(Async): Add exception-unwrapping Await #19785
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
bartelink
wants to merge
20
commits into
dotnet:main
Choose a base branch
from
bartelink:async-await
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 all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
0677d34
feat(Async): Add exception-unwrapping Await
bartelink 9240ff8
Polish xmldoc
bartelink 97c31eb
Fix test expectation
bartelink 3ae385d
hack to silence test fail
bartelink 76f5bad
Apply majocha correction
bartelink cd66660
Remove layer of indirection
bartelink ae14fcb
add support for TaskLike
bartelink 00b5b23
Fix test expectation
bartelink 76995f1
Add stacktrace validation
bartelink 22022a0
Add specific TaskLike cases
bartelink 3bf8d2f
Apply even more feedback goodness
bartelink 04446a9
Merge remote-tracking branch 'upstream/main' into async-await
bartelink f62dc2d
fix: Correct #if condition in tests
bartelink 1e853ee
fix: Replace UnsafeOnCompleted with OnCompleted
bartelink 5c12141
doc: Exception semantics details per review
bartelink e1d0708
docs: reinstate proviso about flowing CT
bartelink 2e532e0
doc: Remove broken reference for netstandard2.0
bartelink 197ff01
review: add comment re role of Await Tasklike
bartelink 95595bd
docs: add missing reference
bartelink 334a40f
test: Regression for UnsafeOnCompletion
bartelink 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Multi-inner faults surface differently depending on which
Async.Awaitbinds:AggregateException(UnwrapExnunwraps onlyCount=1)ArgumentException(rawGetResult(), first inner)Full alignment isn't possible for arbitrary awaiters, so just document it — append to the SRTP
<remarks>in async.fsi:There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done.