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 event hooks for std in, out, err #19

Closed
gkjohnson opened this issue Nov 10, 2020 · 0 comments · Fixed by #37
Closed

Add event hooks for std in, out, err #19

gkjohnson opened this issue Nov 10, 2020 · 0 comments · Fixed by #37
Milestone

Comments

@gkjohnson
Copy link
Contributor

gkjohnson commented Nov 10, 2020

Through something like and event dispatcher so multiple components can listen. See FS.init(). Only one call of FS.init can be made.

May require an emscripten rebuild.

EDIT: Just set print and printErr when instantiating module. Can we add a callback for an onExit error?

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 a pull request may close this issue.

2 participants