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

Should we allow event handler to listen to events? #69

Closed
Mossaka opened this issue Jul 1, 2022 · 0 comments
Closed

Should we allow event handler to listen to events? #69

Mossaka opened this issue Jul 1, 2022 · 0 comments
Labels
🤔 question Something not yet formalized as an issue

Comments

@Mossaka
Copy link
Member

Mossaka commented Jul 1, 2022

If we allow event listening in event handler, this has fundamentally implications to our current design.

First, wasi-cloud uses a pair of two wasmtime::Store, Linker and Instance to run the main program and the handler function. If the function bounces back to main to call another handler function, I assume we should have more wasmtime::Instance instantiated in the host.

Second, this could only be a possibility if multi-handler #68 is implemented.

@danbugs danbugs added ✨ feature New feature or feature request 📐 proposal A concept/proposition, no design work has been done yet labels Jul 4, 2022
@danbugs danbugs modified the milestone: Placeholder Milestone Jul 4, 2022
@danbugs danbugs added 🤔 question Something not yet formalized as an issue and removed ✨ feature New feature or feature request 📐 proposal A concept/proposition, no design work has been done yet labels Jul 4, 2022
@danbugs danbugs changed the title Spec: Should we allow event handler to listen to events Should we allow event handler to listen to events? Jul 4, 2022
@danbugs danbugs added this to the July Milestone milestone Jul 4, 2022
@danbugs danbugs removed this from the July Milestone milestone Jul 20, 2022
@danbugs danbugs closed this as completed Jul 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤔 question Something not yet formalized as an issue
Projects
None yet
Development

No branches or pull requests

2 participants