pub async fn run_async(handler: impl Handler)
Expand description

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 crate::config.

This function will poll pending until the server shuts down.