-
Notifications
You must be signed in to change notification settings - Fork 116
feat: introduce await?
to short-circuit fulfilled async
futures
#5215
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
Merged
Merged
Changes from all commits
Commits
Show all changes
53 commits
Select commit
Hold shift + click to select a range
cb2d3a9
tweak
ggreif dabcb73
more tweaks
ggreif 2c22f59
tweak
ggreif 5e49632
simplify
ggreif 2c9b66e
fix types and the coercion
ggreif 29a5626
accept
ggreif 5464929
test
ggreif cead471
indent
ggreif 45dc3fa
simplify
ggreif c342af0
simplify, return to previous types
ggreif a053eb8
connect loose ends
ggreif 57c340e
no need to assert
ggreif 7701980
restore
ggreif b8c54a8
WIP
ggreif 891ae89
accept
ggreif 421bba0
accept
ggreif f4432e2
remove cruft
ggreif 8491185
accept
ggreif 19f48fc
fix
ggreif e4c35ca
Merge branch 'master' into gabor/fastpath
ggreif 8123e9f
Update src/ir_def/check_ir.ml
ggreif b9a64cd
Update src/ir_def/check_ir.ml
ggreif 923099c
Merge branch 'master' into gabor/fastpath
ggreif eda49f2
Update Changelog.md
ggreif 1f4bb4d
Merge branch 'master' into gabor/fastpath
ggreif 0274330
Update Changelog.md
ggreif 633b1c0
test semantic difference of a commit point
ggreif cdbc376
accept
ggreif 7dd2f45
send queue idea
ggreif 09ce9d7
Update Changelog.md
ggreif 32f6f2b
Apply suggestions from code review
ggreif fcca72a
Merge branch 'master' into gabor/fastpath
ggreif 824eb80
introduce and use `await?` (#5250)
ggreif c43a13e
review comments
ggreif ac3ca6e
Update Changelog.md
ggreif 7b7e7dc
pass flag to `await`
ggreif 7adf9b4
interpreter: short-circuit the continuations when required
ggreif a7dd642
fix tracing
ggreif aa4e687
Update Changelog.md
ggreif b0334e6
maintain the trace depth invariant
ggreif 21b28b4
fix the IR interpreter
ggreif 307681d
refactor
ggreif 85378ab
tweak
ggreif 0bae09f
Merge branch 'master' into gabor/fastpath
ggreif 982e6e9
add section to the language manual about `await?`
ggreif 7f5b78c
add blurb to tutorial
ggreif 93367d6
doc: `await?` doc tweaks (#5266)
crusso 582f570
Merge branch 'master' into gabor/fastpath
ggreif 05593e2
Update src/ir_interpreter/interpret_ir.ml
ggreif 33e65e0
Merge branch 'master' into gabor/fastpath
ggreif a23a938
Update doc/md/fundamentals/5-actors-async.md
crusso ecab9f4
Merge branch 'master' into gabor/fastpath
ggreif 087c2c7
add test that short-circuiting also works for the `throw` case
ggreif 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
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.