التنينوكس on Nostr: Un #rust ans #actix web, how can I have a strict as app state that is non-send. ...
Un #rust ans #actix web, how can I have a strict as app state that is non-send.
Precisely I have a deno_core embedded with app state that needs to store and invoke JS closures. Those closrea are passed to rust as v8::Functions. I do not care if they are duplicated between threads or isolated in a global state. I just want to declare them in invoke them from my actix routes.
For context, I am experimenting a JS simple embedded app with an action router.
Precisely I have a deno_core embedded with app state that needs to store and invoke JS closures. Those closrea are passed to rust as v8::Functions. I do not care if they are duplicated between threads or isolated in a global state. I just want to declare them in invoke them from my actix routes.
For context, I am experimenting a JS simple embedded app with an action router.