by dbcfd · 8y ago · 0 comments
The actix library is fairly nice though, but still a few cases where the use of globals and/or statics introduces problems.
One other thing that wasn't really apparent but would have made my life easier is a way to use an actor to handle a request, so I could have access to a context for thread related activities (e.g. tokio handles). It feels wrong to just use Arbiter::handle there, especially for testable code.