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

Communication between wasms #3358

Closed
17862687921 opened this issue Apr 24, 2024 · 1 comment
Closed

Communication between wasms #3358

17862687921 opened this issue Apr 24, 2024 · 1 comment
Labels
question Further information is requested

Comments

@17862687921
Copy link

Summary

Does wasmedge have a function that enables communication between test.wasm and test2.wasm? Similar to inter-docker communication? Or test.wasm communicates with an instance in docker?

Appendix

No response

@17862687921 17862687921 added the question Further information is requested label Apr 24, 2024
@q82419
Copy link
Collaborator

q82419 commented Apr 30, 2024

Hi,

Do you mean the multiple-module case in WASM?
For example, a WASM module (module A) export its function as name "func1" and module name "module1", and another WASM module (module B) import a function "module1" "func1".
With instantiating these 2 modules and linking them, the module B can invoke the imported function "func1" from the module A.

For this linking example, please refer to the multiple module example.

Thanks.

@q82419 q82419 closed this as completed May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants