Function perseus::engine::run_dflt_engine_export_only
source · pub async fn run_dflt_engine_export_only<M, T, A>(
op: EngineOperation,
app: A
) -> i32where
M: MutableStore + 'static,
T: TranslationsManager + 'static,
A: Fn() -> PerseusAppBase<SsrNode, M, T> + 'static + Send + Sync + Clone,
Expand description
A wrapper around run_dflt_engine
for apps that only use exporting, and so
don’t need to bring in a server integration. This is designed to avoid extra
dependencies. If perseus serve
is called on an app using this, it will
panic!
after building everything.