arc<hub> or arc<auth> then constract hub? #439
Answered
by
Byron
mohad12211
asked this question in
Q&A
-
for shared state, should I wrap the |
Beta Was this translation helpful? Give feedback.
Answered by
Byron
Aug 19, 2023
Replies: 1 comment 1 reply
-
I know it's a none-answer, but use whatever works for you. Rust makes sure it's safe. If 'one-hub-per-call' is too slow, I am sure there are other ways to share it as well. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
mohad12211
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I know it's a none-answer, but use whatever works for you. Rust makes sure it's safe. If 'one-hub-per-call' is too slow, I am sure there are other ways to share it as well.