Closed anirudh1800 closed 10 months ago
There sure is. You just need to enable the async feature. This will result in the underlying collection being backed by Arc
instead of Rc
as well as implement Send + Sync
. There's even a test that proves this behavior across threads:
I enabled async featured and it worked. Thank you!
I am building a http service and need multiple threads need to access ServiceProvider. Is there way for multiple threads to access service provider. Following is the error stack trace:-