Function trillium_async_std::source · [−]
pub async fn run_async(handler: impl Handler)
Runs a trillium handler in an async context with default config
Run the provided trillium handler on an already-running async-std
runtime with default settings. the defaults are the same as
crate::run. To customize these settings, see
This function will poll pending until the server shuts down.