idea: wrap reactive with wit #2162
Unanswered
huang12zheng
asked this question in
Q&A
Replies: 2 comments
-
get value from handle: pub fn get<T: Any + Sized>(&self, key: &Resource<T>) -> Result<&T, TableError> {
self.get_(key.rep())?
.downcast_ref()
.ok_or(TableError::WrongType)
} |
Beta Was this translation helpful? Give feedback.
0 replies
-
This is interesting. Have you gotten any further with this? Sorry, a little off-topic from leptos, I have a similar problem with WIT: I'd like the guest to be able to insert some arbitrary data, e.g. during a
I've run into two problems with the Rust version of this (guest side):
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I don't know if it makes sense, and I have no solution about it.
and I just want to wrap reactive with wit.
I want to ask you, do you think this will work?
(1) wasi's poll.wit
wit file:
binding auto-gen:
client/guest use library
detail of impl about interface, You don't have to think about it.
Beta Was this translation helpful? Give feedback.
All reactions