Skip to content

How to call functions concurrently #3530

Answered by sagacity
sagacity asked this question in Q&A
Discussion options

You must be logged in to vote

Answered on Slack by @Michael-F-Bryan: It's fine to create a new Instance and Store per request. If you keep the Module around across calls (which contains the compiled WASM), it should be very cheap to do so.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by sagacity
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant