Skip to content

Is there a way to use a wasm_bindgen::closure to run async code inside of it? #3889

Discussion options

You must be logged in to vote

Clone the client again before the second move?

edit: If it's still not completley clear, the closure is a generator for futures which are sent to the browsers async queue.

Replies: 3 comments

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

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