Is there a way to get a SystemRunner
object from the current System
(which I am getting from System::current()
). I can't find a way to do it through the documentation, but I feel like it should exist.
I have an endpoint where a user might call a method that uses block_on
, which requires an instance of SystemRunner
to run on. I want to avoid calling System::new("actix")
again and just use the System
that is currently running.