Function abscissa_tokio::run_with_actix
source · pub fn run_with_actix<A, F>(
app: &'static AppCell<A>,
future: F
) -> Result<F::Output, FrameworkError>where
A: Application,
F: Future,
Available on crate feature
actix
only.Expand description
Run a Future
on the Runtime
with the additional functionality of the actix runtime
for the provided Application
.
This requires that TokioComponent
has been registered with the given
application, and can only be called once after the application has fully
booted.