-
I'm trying to serialize the value behind a JsUnknown.
After reading #1128 I could not pull it off. EDIT: see #1337 (reply in thread) for the solution |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
A small update on this: Since I was running block_on on the node thread, the promise never could resolve, because the thread was blocked. I still could not manage to run the await via execute_tokio_future since JsUnknown is not send. |
Beta Was this translation helpful? Give feedback.
-
SO: The actual problem I have is, that I want to serialize the JsUnknown, which is the result of the promise, in an async context. Since JsUnknown isn't Send I'll have to figure out how to make that work. |
Beta Was this translation helpful? Give feedback.
SO: The actual problem I have is, that I want to serialize the JsUnknown, which is the result of the promise, in an async context. Since JsUnknown isn't Send I'll have to figure out how to make that work.