Function ya_runtime_sdk::run_with

source ·
pub async fn run_with<R, E>(env: E) -> Result<()>where
    R: Runtime + Default + 'static,
    E: Env<<R as RuntimeDef>::Cli> + Send + 'static,
Expand description

Starts the runtime within a new tokio::task::LocalSet, using a custom environment configuration provider