Skip to content

Fix __async decorators in libwasmfs_opfs.js - #26026

Open
sbc100 wants to merge 1 commit into
emscripten-core:mainfrom
sbc100:opfs_async
Open

sbc100 wants to merge 1 commit into
emscripten-core:mainfrom
sbc100:opfs_async

Conversation

@sbc100

@sbc100 sbc100 commented Dec 31, 2025

Copy link
Copy Markdown
Collaborator

For functions that are unconditionally declared as async we should
also unconditionally mark them as __async. There are two function
that are conditionally async and in these two cases the __async
decorator should also be conditional.

For functions that are unconditionally declared as `async` we should
also unconditionally mark them as `__async`.   There are two function
that are conditionally `async` and in these two cases the `__async`
decorator should also be conditional.
@sbc100

sbc100 commented Dec 31, 2025

Copy link
Copy Markdown
Collaborator Author

This work is kind of a followup to #20289

@tlively tlively left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it possible to write a test for this?

This branch has not been deployed

No deployments
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