speed_spread 3 days ago

That would be Arc<Mutex<T>>, which works but is no STM.

1
Philpax 2 days ago

Additionally, the actor model is pretty easy to implement: https://ryhl.io/blog/actors-with-tokio/