You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running deno_runtime in multiple threads and trying to use different prompters to manage the permissions independently, but I hit a roadblock because PERMISSION_PROMPTER is static. This is an example of how I'm using deno_runtime: https://github.com/carloslfu/tauri-deno-example.
A solution could be using the thread_local! {} macro. I created this branch with the necessary changes and will submit a PR.
The text was updated successfully, but these errors were encountered:
I'm running
deno_runtime
in multiple threads and trying to use different prompters to manage the permissions independently, but I hit a roadblock becausePERMISSION_PROMPTER
isstatic
. This is an example of how I'm usingdeno_runtime
: https://github.com/carloslfu/tauri-deno-example.A solution could be using the
thread_local! {}
macro. I created this branch with the necessary changes and will submit a PR.The text was updated successfully, but these errors were encountered: