Skip to content
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

Add support for Asyncify #17

Closed
robertaboukhalil opened this issue May 31, 2020 · 2 comments
Closed

Add support for Asyncify #17

robertaboukhalil opened this issue May 31, 2020 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@robertaboukhalil
Copy link
Member

Currently, if Asyncify is enabled, Aioli will correctly run the Asyncify-ed code but it won't return the stdout/stderr of what happens after e.g. emscripten_sleep() is called.

To address this, exec() inside aioli.worker.js should be updated to return a Promise if Asyncify is enabled.

@robertaboukhalil robertaboukhalil added the enhancement New feature or request label May 31, 2020
@robertaboukhalil robertaboukhalil self-assigned this May 31, 2020
@robertaboukhalil
Copy link
Member Author

In progress: branch issue-17-support-asyncify

@robertaboukhalil robertaboukhalil added the in-progress In progress label Jun 1, 2020
@robertaboukhalil robertaboukhalil removed the in-progress In progress label Jun 29, 2020
@robertaboukhalil
Copy link
Member Author

robertaboukhalil commented Jul 15, 2021

This was originally needed for https://tsne.sandbox.bio/ but I instead modified bhtsne to send data back to the main thread after every ~50 iterations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

1 participant