Allow using boa in an async context #4001
Replies: 2 comments 2 replies
-
Converted to discussion because this is more of a question thing. |
Beta Was this translation helpful? Give feedback.
-
In general, a I think the most common workaround for this is to have a thread local |
Beta Was this translation helpful? Give feedback.
-
Hello,
I'm currently trying to add boa to flutter. Based on the feedback of the bridge author (fzyzcjy/flutter_rust_bridge#2257) Context needs to be sendable (implement Send).
Can you add it? Do you have a better idea how I could integrate it? I'm currently using a
Arc<Mutex<Context>>
for this.Beta Was this translation helpful? Give feedback.
All reactions