-
I use mlua with tokio async framework, use mlua async feature.
How can I use mlua async feature with tokio multi-thread ? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
And if I can use
|
Beta Was this translation helpful? Give feedback.
-
You need to use And it's not possible to use |
Beta Was this translation helpful? Give feedback.
-
@khvzak Is it possible to use feature |
Beta Was this translation helpful? Give feedback.
You need to use
LocalSet
to execute non-Send futures.And it's not possible to use
eval
instead ofeval_async
to execute async functions because onlyeval_async
returnsFuture
.