I find the information regarding the Component model WIT interface Resource quite lacking in https://component-model.bytecodealliance.org/design/wit.html#resources, amd https://github.com/WebAssembly/component-model/blob/main/design/mvp/WIT.md. How can one implement a Guest function that returns a Resource and how does it really work
Which language are you using? Here is documentation on how to use resources from a guest written in Rust. The documentation you pointed to is more for implementors of tooling than end users. (Sorry for the confusion! We need to make this clearer)
Ryan Levick (rylev) said:
Which language are you using? Here is documentation on how to use resources from a guest written in Rust. The documentation you pointed to is more for implementors of tooling than end users. (Sorry for the confusion! We need to make this clearer)
Thanks a lot, i have seen it.
I don't thinkall info regarding the usage in a particular language should be in a single file , important info can get lost in a see of information.
Last updated: Nov 22 2024 at 16:03 UTC