Skip to content

Tweak returned code of async lower on eager return to be more consistent#516

Merged
lukewagner merged 1 commit into
mainfrom
change-async-lower-ret
May 19, 2025
Merged

Tweak returned code of async lower on eager return to be more consistent#516
lukewagner merged 1 commit into
mainfrom
change-async-lower-ret

Conversation

@lukewagner
Copy link
Copy Markdown
Member

Currently, if an async-lowered called completes eagerly without blocking, the return value is 0. However, it would be more consistent to return 2, which is the code for RETURNED, to match the async event payload value.

@lukewagner lukewagner merged commit 7531448 into main May 19, 2025
2 checks passed
@lukewagner lukewagner deleted the change-async-lower-ret branch May 19, 2025 16:10
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.

2 participants