Skip to content

How to call an async function created in Rust from Lua? #273

Answered by elipp
elipp asked this question in Q&A
Discussion options

You must be logged in to vote

...aaand almost immediately after posting this, I found out from the docs that anything with async functions/coroutines must be called with eval_async or similar. 🤣

After that, even the first variant works as expected.

Replies: 1 comment

Comment options

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