Repository navigation
feat(js/ts/python/beam): support Async.TryCancelled - #5083
Merged
Merged
Conversation
dbrattli
force-pushed
the
feat/async-try-cancelled
branch
from
October 15, 2026 19:11
fe2a041 to
8c63510
Compare
dbrattli
force-pushed
the
fix/python-async-reply-reuse
branch
from
October 15, 2026 19:11
6b81384 to
14df95b
Compare
dbrattli
marked this pull request as ready for review
October 15, 2026 19:12
dbrattli
force-pushed
the
fix/python-async-reply-reuse
branch
from
October 15, 2026 20:25
14df95b to
a20e7c2
Compare
dbrattli
force-pushed
the
feat/async-try-cancelled
branch
from
October 15, 2026 20:25
8c63510 to
68c41a6
Compare
dbrattli
force-pushed
the
feat/async-try-cancelled
branch
from
October 15, 2026 20:33
68c41a6 to
5d19ae3
Compare
Contributor
Python Type Checking Results (Pyright)
Excluded files with errors (4 files)These files have known type errors and are excluded from CI. Remove from
|
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Adds support for FSharp.Core’s existing
Async.TryCancelledAPI to JavaScript/TypeScript, Python, and BEAM. Calls currently compile to runtime functions that do not exist.The cancellation handler receives the original exception before cancellation continues. Success and ordinary errors pass through unchanged, and an exception from the handler does not replace cancellation. Nested handlers are installed before cancellation is checked; JavaScript and Python preserve the existing trampoline when unwinding them.